replace 1 in place of NaN
古いコメントを表示
I have matrix with some elements NaN. I want to replace them with 1. how to do it
回答 (1 件)
KSSV
2016 年 11 月 11 日
Let K be your array which has nan.
K(isnan(K))=1;
カテゴリ
ヘルプ センター および File Exchange で NaNs についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!