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

Standard deviation ignoring NaNs.

Syntax

Description

nanstd(X) the standard deviation treating NaNs as missing values.

For vectors, nanstd(x) is the standard deviation of the non-NaN elements of x. For matrices, nanstd(X) is a row vector containing the standard deviations of the non-NaN elements in each column of X.

Example

See Also

nanmax, nanmin, nanmean, nanmedian, nansum



[ Previous | Help Desk | Next ]