How to find element index in a matrix

2 ビュー (過去 30 日間)
Boni_Pl
Boni_Pl 2019 年 8 月 11 日
コメント済み: Boni_Pl 2019 年 8 月 13 日
Hello sir kindly help me to find position of element '1' in matrix 'v'. i.e. (3,3).ele.png

採用された回答

SYED IMTIAZ ALI SHAH
SYED IMTIAZ ALI SHAH 2019 年 8 月 11 日
編集済み: SYED IMTIAZ ALI SHAH 2019 年 8 月 11 日
[c d] = find(v == 1);
e = [c d]
  1 件のコメント
Boni_Pl
Boni_Pl 2019 年 8 月 13 日
Thank you Sir

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by