How to find element index in a matrix
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Boni_Pl
il 11 Ago 2019
Commentato: Boni_Pl
il 13 Ago 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 Commenti
Risposta accettata
SYED IMTIAZ ALI SHAH
il 11 Ago 2019
Modificato: SYED IMTIAZ ALI SHAH
il 11 Ago 2019
[c d] = find(v == 1);
e = [c d]
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!