How can I get from A=[21 3 NaN NaN] to A=[21 3 0 0] without using a for cycle?

 採用された回答

Image Analyst
Image Analyst 2013 年 10 月 6 日

0 投票

A(isnan(A)) = 0;

その他の回答 (1 件)

Andrei Bobrov
Andrei Bobrov 2013 年 10 月 6 日

0 投票

A(A~=A) = 0

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by