find value with row and column
Afficher commentaires plus anciens
Hi
i need find value in matrix corresponding with row and column.
Réponses (1)
matrix = magic(4)
value = 10
[row,column] = find(matrix == value)
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!