MATLAB: Missing NaN functions

MATLABmissing functionsnan functions

When I type >>help nansum in the command window, matlab returns "nansum not found." even though the function does exist in the documentation for the R2011a version. Is it possible that these functions (i.e. nansum, nanmean etc.) didn't install correctly, were they not included in R2011a, or do they exist under a new name? Thanks!

Best Answer

nansum is part of the optional Stats toolbox, and also the optional Finance toolbox, but not part of basic MATLAB.
There is a MATLAB File Exchange contribution that implements at least some of these; please see the contribution http://www.mathworks.com/matlabcentral/fileexchange/6837-nan-suite/