find value with row and column
Show older comments
Hi
i need find value in matrix corresponding with row and column.
Answers (1)
matrix = magic(4)
value = 10
[row,column] = find(matrix == value)
Categories
Find more on Creating and Concatenating Matrices 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!