calculates the standard error of the mean
[SE,M] = nan_sem(x [, DIM [,W]])
standard error in dimension DIM
mean
dimension
SEM of columns
SEM of rows
SEM of N-th dimension
first DIMENSION, with more than 1 element
weights to compute weighted mean and s.d. (default: [])
calculates the standard error (SE) in dimension DIM the default DIM is the first non-single dimension M returns the mean. Can deal with complex data, too.
features: - can deal with NaN's (missing values) - weighting of data - dimension argument - compatible to Matlab and Octave