How can I find the position of a real number in a vector?
Mostra commenti meno recenti
I have a vector v:
v=[-0.9990;0.8988;2;3];
I want to find the position of -0.9990.
I used find(x==-0.9990) it does not work.
Any solutions?
Thanks
Risposta accettata
Più risposte (1)
Cameron B
il 5 Mar 2020
find(v==-0.999)
Categorie
Scopri di più su Creating and Concatenating Matrices 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!