mean (ignoring Nan's)
m = nanmean(val) m = nanmean(val, orientation)
real or complex vector or matrix
index of the dimension along which the nanmean is computed. It can be either
"*" (default), "r" or
"c"real or complex scalar or vector
This function returns in scalar m the mean of the
values (ignoring the NANs) of a vector or matrix val.
For a vector or matrix val , m=nanmean(val)
or m = nanmean(val, '*') returns in scalar m
the mean of all the entries (ignoring the NANs) of val.
m=nanmean(val,'r') (or, equivalently,
m=nanmean(val,1)) returns in each entry of the row
vector m of type 1xsize(val,'c') the mean of each
column of val (ignoring the NANs).
m=nanmeanf(val,'c') (or, equivalently,
m=nanmean(val,2)) returns in each entry of the column
vector m of type size(val,'c')x1 the mean of each
row of val (ignoring the NANs).
In Labostat, NAN values stand for missing values in tables.
Wonacott, T.H. & Wonacott, R.J.; Introductory Statistics, fifth edition, J.Wiley & Sons, 1990.