www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@sweepset/mean.m
function m = mean(S,level) %MEAN Sweep mean of data in sweepset % % M = MEAN(S, LEVEL) returns the mean value of sweeps. % Copyright 2000-2005 The MathWorks, Inc. and Ford Global Technologies, Inc. % Call private mex function GetMean with the data matrix % and a uint32 version of the dataset sizes. Second tsizes parameter % is required sweep level if nargin==1 level = 1; end AsUInt32 = 1; m = GetMean(S.data, tsizes(S, level, AsUInt32));