I have two surfaces in matrix form 200x200, M1 and M2. I want to set all values in M1 to NaN if they are higher than the corresponding values in M2. How would i go about this?
Thanks,
Luke

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 4 月 12 日
編集済み: Azzi Abdelmalek 2016 年 4 月 12 日

0 投票

M1(M1>M2)=nan

その他の回答 (0 件)

カテゴリ

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by