How can I detect NaN values in a matrix or vector?
3 ビュー (過去 30 日間)
古いコメントを表示
How do I identify NaN values?
1 件のコメント
Fawad Chandio
2019 年 8 月 15 日
Hello I doing facial recognition attendance system for my final year project I already completed some task but now the problem is that how to recognitions faces...? Help me sir
採用された回答
その他の回答 (1 件)
Bozydar Wrona
2017 年 6 月 22 日
編集済み: Bozydar Wrona
2017 年 6 月 22 日
%num is a vector/matrix, if searching for elements different than NaN then:
num(isnan(num)==0)
%otherwise:
num(isnan(num)==1)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Operators and Elementary Operations についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!