Download Sysquake Remote User Manual

Transcript
494
Sysquake for LATEX
Examples
nanmean([1,2,nan;nan,6,7])
1 4 7
nanmean([1,2,nan;nan,6,7],2)
1.5
6.5
nanmean([nan,nan])
nan
See also
nanmedian, nanstd, mean
nanmedian
Median after discarding NaNs.
Syntax
y = nanmedian(A)
y = nanmedian(A, dim)
Description
nanmedian(v) gives the median of vector v, i.e. the value x such
that half of the elements of v are smaller and half of the elements are
larger. NaN values are ignored.
nanmedian(A) gives a row vector which contains the median of the
columns of A. With a second argument, nanmedian(A,dim) operates
along dimension dim.
See also
nanmean, median
nansum
Sum after discarding NaNs.
Syntax
y = nansum(A)
y = nansum(A, dim)