Why my R2013b version does not have "nansum","nanmin" or "nanmax"?

Hi everyone,
I don't have any toolbox, but I thought these functions are built-in for 2013b, no?
Thanks, Karen

 Accepted Answer

per isakson
per isakson on 21 Feb 2014
Edited: per isakson on 22 Feb 2014
These functions comes with the statistical and the financial toolboxes.
See

2 Comments

nanmin and nanmax in the statistics toolbox are the same as ordinary min and max, I believe
Yes, min and max are. Exerpt from min.m of R2013a
NaN's are ignored when computing the minimum. When all elements in X
are NaN's, then the first one is returned as the minimum.
In the "Tips" section of the documentation of min, I finally found
The min function ignores NaNs.
Has it always been that way? In R2013a, nanmin is a simple wrapper of min.

Sign in to comment.

More Answers (0)

Categories

Find more on Oceanography and Hydrology in Help Center and File Exchange

Tags

Asked:

on 21 Feb 2014

Edited:

on 22 Feb 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!