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 Get Started with MATLAB 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!