How to find number in a matrix and output its row number?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
shatha almarri
am 15 Feb. 2021
Beantwortet: Walter Roberson
am 15 Feb. 2021
I have a coloumn vector
M = [83 82 86 84 85 90]
How can I find at which row the matrix has a value of 85 (should output row = 5 since 85 is on the 5th row)
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
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!