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!