対象となるインデックスを返して、格子を選択
Mostrar comentarios más antiguos
MAPのz軸(青色枠の中の値)が2以上となる格子(x軸とy軸)を選択したい。
例:z軸の値=3
2以上となる格子は、x軸=800,1000/y軸=0
格子の抽出をMATLABで自動処理したいです。

Respuestas (2)
雄太 髙井
el 14 de Jun. de 2021
1 voto
「格子の抽出」とのことですが、条件を満たしている行・列が分かればよいのかと推測しています。例えば 4x4 の配列で 10 以上の要素を持つ行数・列数を取り出す例だと以下のようになります。参考になりますでしょうか。
sample = magic(4)
[row,col] = find(sample>10)
Categorías
Más información sobre Install Products en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!