Filter löschen
Filter löschen

How do I find the index of a known number? (reverse indexing?)

5 Ansichten (letzte 30 Tage)
Sandy
Sandy am 3 Apr. 2014
Kommentiert: Sandy am 3 Apr. 2014
I have a matrix M.
I have a number XXXX.
I want to find the index of this number within my matrix M.
How can I do this?

Akzeptierte Antwort

Sean de Wolski
Sean de Wolski am 3 Apr. 2014
idx = find(M==xxxx)

Weitere Antworten (0)

Kategorien

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

Community Treasure Hunt

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

Start Hunting!

Translated by