How to find element index in a matrix
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Boni_Pl
am 11 Aug. 2019
Kommentiert: Boni_Pl
am 13 Aug. 2019
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 Kommentare
Akzeptierte Antwort
SYED IMTIAZ ALI SHAH
am 11 Aug. 2019
Bearbeitet: SYED IMTIAZ ALI SHAH
am 11 Aug. 2019
[c d] = find(v == 1);
e = [c d]
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!