How to find element index in a matrix

1 Ansicht (letzte 30 Tage)
Boni_Pl
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

Akzeptierte Antwort

SYED IMTIAZ ALI SHAH
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)

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by