i have a vector of drag coefficients im using as inputs for an equation. i have determined which gives the largest value. how do i display the drag coefficient used to get this value?
Mostra commenti meno recenti
i have a vector of drag coefficients im using as inputs for an equation. i have determined which gives the largest value. how do i display the drag coefficient used to get this value?.the teacher said i should use a max with two output values indexing
Risposte (2)
Walter Roberson
il 30 Gen 2014
[maxvalue, indexofmax] = max(YourComputedVector);
YourDragVector(indexofmax)
kendall
il 30 Gen 2014
0 voti
Categorie
Scopri di più su Networks 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!