Convert vector position to real number
Mostra commenti meno recenti
Really simple question, I have the following:
>> vec=[44 3 2 9 11 6]
vec =
44 3 2 9 11 6
>> find(vec>6)
ans =
1 4 5
How do I convert the values into their real number? As in how do I have 44 9 11 show up
1 Commento
Tom
il 11 Ott 2015
indices = find(vec>6)
vec(indices)
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Aerospace Blockset 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!