matrix look up issue
Afficher commentaires plus anciens
I have a large matrix which has RPM in the first column and Torques populating the rest of the matrix. I need help finding a way to search the first column for a set rpm and then search that row for value of torque, from that i need the position of that value in the matrix to then find an efficiency value in an identical sized matrix.
I have so far:
RPM_val =1000; [row] = find(T_T==RPM_val)
This gives me the row where the 1000rpm is, how do i then search just that row for the value of torque i am after,or the nearest value to it.
Thank you
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Mathematics 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!