- in the documentation of the statistical toolbox Summary Statistics for Data with Missing ValuesUsing NaN for missing values
- the File Exchange contribution NaN Suite
Why my R2013b version does not have "nansum","nanmin" or "nanmax"?
8 views (last 30 days)
Show older comments
Hi everyone,
I don't have any toolbox, but I thought these functions are built-in for 2013b, no?
Thanks, Karen
0 Comments
Accepted Answer
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
David Young
on 22 Feb 2014
nanmin and nanmax in the statistics toolbox are the same as ordinary min and max, I believe
per isakson
on 22 Feb 2014
Edited: per isakson
on 22 Feb 2014
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.
More Answers (0)
See Also
Categories
Find more on NaNs in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!