find value with row and column
Ältere Kommentare anzeigen
Hi
i need find value in matrix corresponding with row and column.
Antworten (1)
matrix = magic(4)
value = 10
[row,column] = find(matrix == value)
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!