フィルターのクリア

I have (double type) matrix where I have NaN values. I want to change all NaN values to 0 value. How Can I do that?

19 ビュー (過去 30 日間)
I have (double type) matrix where I have NaN values. I want to change all NaN values to 0 value. How Can I do that?

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 2 月 20 日
A(isnan(A))=0

その他の回答 (1 件)

Thorsten
Thorsten 2013 年 2 月 20 日
X(isnan(X)) = 0;

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by