Exclude calculation in a part of array

1 回表示 (過去 30 日間)
Ganesh kumar Badri narayan
Ganesh kumar Badri narayan 2017 年 6 月 22 日
コメント済み: Adam 2017 年 6 月 22 日
I have created 300 by 300 array and I am interested to perform calculation for the space as shown in attached image. How can I exclude some part of array from main calculation?
  1 件のコメント
Adam
Adam 2017 年 6 月 22 日
Assuming you have the area define by a logical mask then just apply the mask to your data. It will collapse it to 1d, but that is fine if it is a per-point calculation. You can then put the results back into the original shape after.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with Image Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by