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

3 Ansichten (letzte 30 Tage)
Adleen Alwi
Adleen Alwi am 28 Sep. 2019
Beantwortet: Ajay Kumar am 28 Sep. 2019
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?

Antworten (1)

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

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by