Missing NaN 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!
1 件のコメント
Yella
2011 年 6 月 20 日
I use matlab 2010a... i have those functions.... FYKI
採用された回答
その他の回答 (1 件)
Andrei Bobrov
2011 年 6 月 20 日
so nansum
Xnan20 = X;
Xnan20(isnan(X))=0;
out = sum(Xnan20);
カテゴリ
ヘルプ センター および File Exchange で Library Domains についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!