How to find element index in a matrix

조회 수: 2 (최근 30일)
Boni_Pl
Boni_Pl 2019년 8월 11일
댓글: Boni_Pl 2019년 8월 13일
Hello sir kindly help me to find position of element '1' in matrix 'v'. i.e. (3,3).ele.png

채택된 답변

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

Translated by