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

 Respuesta aceptada

per isakson
per isakson el 21 de Feb. de 2014
Editada: per isakson el 22 de Feb. de 2014
These functions comes with the statistical and the financial toolboxes.
See

2 comentarios

nanmin and nanmax in the statistics toolbox are the same as ordinary min and max, I believe
per isakson
per isakson el 22 de Feb. de 2014
Editada: per isakson el 22 de Feb. de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Etiquetas

Preguntada:

el 21 de Feb. de 2014

Editada:

el 22 de Feb. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by