s = std(X)
s = std(X), where
Xis a matrix, returns a row vector
scontaining the standard deviation of each column.If
Xis a vector,
sis the standard deviation of the elements of
The standard deviation
s of a sample of data is
and n is the number of elements in the sample.
Using this definition,
s.^2 is the minimum variance unbiased estimate of sigma squared (the scale parameter of the normal distribution).
(c) Copyright 1994 by The MathWorks, Inc.