I have a number in one matrix, how do I find this number in a corresponding matrix?
Mostra commenti meno recenti
I have a number in a matrix say 17 and I need to find this row number(17) in another matrix and find the corresponding value in that cell.
How do I pull the corresponding value for the row from another matrix?
1 Commento
José-Luis
il 14 Mag 2014
logical_index = some_matrix == 17;
Not sure I understand what you mean.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Resizing and Reshaping Matrices in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!