フィルターのクリア

how to cancel specific values in 3d array

2 ビュー (過去 30 日間)
noa
noa 2013 年 6 月 18 日
hi
i have a 3d array (aXbXc)
and i want that in each cell that has the value Q to put there a zero instead of it.
but the FIND function keeps returning empty cell values

採用された回答

Iain
Iain 2013 年 6 月 18 日
array(array == Q) = 0;
  1 件のコメント
Iain
Iain 2013 年 6 月 18 日
You might want to use NaN's instead

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Types についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by