How to find element index in a matrix
1 回表示 (過去 30 日間)
古いコメントを表示
Hello sir kindly help me to find position of element '1' in matrix 'v'. i.e. (3,3).![ele.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/233507/ele.png)
![ele.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/233507/ele.png)
0 件のコメント
採用された回答
SYED IMTIAZ ALI SHAH
2019 年 8 月 11 日
編集済み: SYED IMTIAZ ALI SHAH
2019 年 8 月 11 日
[c d] = find(v == 1);
e = [c d]
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!