配列内の数値の位置を見つけるにはどうしたらよいですか?
古いコメントを表示
ベクトル a = [7 8 8 2 5 6] がある場合、値8の位置をどのように計算すればよいですか?期待する結果は、2と3、または(1,2)と(1,3)です。
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で 数学 についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!