Finding the location of particular value
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Vinay Srinivasan
il 15 Feb 2020
Commentato: Vinay Srinivasan
il 15 Feb 2020
Hello
I have a matlab data file which has 4 variables like time,velocity ,acceleration . Each variable has 2000values . I need maximum acceleration,so I used max(acceleration).Now I need to know the velocity at maximum acceleration from the data. How to get that value .
0 Commenti
Risposta accettata
Walter Roberson
il 15 Feb 2020
Modificato: Walter Roberson
il 15 Feb 2020
[maxacc, maxaccidx] = max(acceleration);
maxaccvel = velocity(maxaccidx);
4 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Matrix Indexing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!