Statistics Toolbox
  Go to function:
    Search    Help Desk 
std    Examples   See Also

Standard deviation of a sample.

Syntax

Description

std(X) computes the sample standard deviation of the data in X. For vectors, std(x) is the standard deviation of the elements in x. For matrices, std(X) is a row vector containing the standard deviation of each column of X.

std(X) normalizes by n-1 where n is the sequence length. For normally distributed data, the square of the standard deviation is the minimum variance unbiased estimator of 2 (the second parameter).

The standard deviation is


where the sample average is .

Examples

In each column, the expected value of y is one.

See Also



[ Previous | Help Desk | Next ]