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

 採用された回答

per isakson
per isakson 2014 年 2 月 21 日
編集済み: per isakson 2014 年 2 月 22 日

1 投票

These functions comes with the statistical and the financial toolboxes.
See

2 件のコメント

David Young
David Young 2014 年 2 月 22 日
nanmin and nanmax in the statistics toolbox are the same as ordinary min and max, I believe
per isakson
per isakson 2014 年 2 月 22 日
編集済み: per isakson 2014 年 2 月 22 日
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.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

タグ

質問済み:

2014 年 2 月 21 日

編集済み:

2014 年 2 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by