How to pick next value from vectors based on a condition?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Evans Gyan
il 13 Mag 2019
Commentato: Evans Gyan
il 14 Mag 2019
Assuming i have a vector
A = [ 7.7 213.1 9.5 227.5 12.5 6.8 100.8 5.3 7.2 99.4]
I want to pick a value that is maximum and is greater or equal to the index 5.
In this case my answer would be 100.8 and is of index 7.
Thanks in advance
0 Commenti
Risposta accettata
Più risposte (1)
Vedere anche
Categorie
Scopri di più su Logical 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!