默认的是N-1吧,以下是MATLAB 帮助文档的说明:
STD Standard deviation.
For vectors, Y = STD(X) returns the standard deviation. For matrices,
Y is a row vector containing the standard deviation of each column. For
N-D arrays, STD operates along the first non-singleton dimension of X.
STD normalizes Y by (N-1), where N is the sample size. This is the
sqrt of an unbiased estimator of the variance of the population from
which X is drawn, as long as X consists of independent, identically
distributed samples.
Y = STD(X,1) normalizes by N and produces the square root of the second
moment of the sample about its mean. STD(X,0) is the same as STD(X).
Y = STD(X,FLAG,DIM) takes the standard deviation along the dimension
DIM of X. Pass in FLAG==0 to use the default normalization by N-1, or
1 to use N,