SOM Toolbox | Online documentation | http://www.cis.hut.fi/projects/somtoolbox/ |
[me, st, md, no] = nanstats(D)
NANSTATS Statistical operations that ignore NaNs and Infs. [mean, std, median, nans] = nanstats(D) Input and output arguments: D (struct) data or map struct (matrix) size dlen x dim me (double) columnwise mean st (double) columnwise standard deviation md (double) columnwise median no (vector) columnwise number of samples (finite, not-NaN)