Home > NaN > nanstd.m

nanstd

PURPOSE ^

NANSTD same as STD but ignores NaN's.

SYNOPSIS ^

function [y] = nanstd(x,FLAG,DIM)

DESCRIPTION ^

 NANSTD same as STD but ignores NaN's. 
 NANSTD is OBSOLETE; use NaN/STD instead. NANSTD is included 
    to fix a bug in alternative implementations and to 
    provide some compatibility. 

 Y = nanstd(x, FLAG, [,DIM])
 
 x     data
 FLAG  0: [default] normalizes with (N-1), N = sample size
 FLAG  1: normalizes with N, N = sample size
 DIM    dimension
    1 sum of columns
    2 sum of rows
    default or []: first DIMENSION with more than 1 element
 Y    resulting standard deviation
 
 see also: SUM, SUMSKIPNAN, NANSUM, STD

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003