How to find element index in a matrix

1 次查看(过去 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 个)

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by