How to find element index in a matrix

1 visualizzazione (ultimi 30 giorni)
Hello sir kindly help me to find position of element '1' in matrix 'v'. i.e. (3,3).ele.png

Risposta accettata

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

Categorie

Scopri di più su Images in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by