how to determine index number and equate to x and y?

2 次查看(过去 30 天)
A=[4 2 0
3 -5 3
17 3 5]
how to determine the index value of "10"s in the matrix and equate it to x and y?

回答(1 个)

Ajay Kumar
Ajay Kumar 2019-9-28
index_10s = find(A==10);

类别

Help CenterFile Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by