How to find number in a matrix and output its row number?
1 view (last 30 days)
Show older comments
shatha almarri
on 15 Feb 2021
Answered: Walter Roberson
on 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 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!