How to find element index in a matrix

2 次查看(过去 30 天)
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
[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