finding NON in matrix
古いコメントを表示
Hi all In the matrix A which is 1*N matrix, I want to recognize if there is any element equal to NON in it,I replace it by zero.How can I do that?
採用された回答
その他の回答 (1 件)
Sean de Wolski
2011 年 5 月 24 日
A(isnan(A)) = 0;
1 件のコメント
Walter Roberson
2011 年 5 月 24 日
You're fast today, Sean!
カテゴリ
ヘルプ センター および File Exchange で Cell Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!