対象となるインデックスを返して、格子を選択
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MAPのz軸(青色枠の中の値)が2以上となる格子(x軸とy軸)を選択したい。
例:z軸の値=3
2以上となる格子は、x軸=800,1000/y軸=0
格子の抽出をMATLABで自動処理したいです。
0 Commenti
Risposte (2)
michio
il 14 Giu 2021
「格子の抽出」とのことですが、条件を満たしている行・列が分かればよいのかと推測しています。例えば 4x4 の配列で 10 以上の要素を持つ行数・列数を取り出す例だと以下のようになります。参考になりますでしょうか。
sample = magic(4)
[row,col] = find(sample>10)
0 Commenti
Vedere anche
Categorie
Scopri di più su MPSK in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!