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

3 views (last 30 days)
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?

Answers (1)

Ajay Kumar
Ajay Kumar on 28 Sep 2019
index_10s = find(A==10);

Tags

Community Treasure Hunt

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

Start Hunting!