How can I find the position of a real number in a vector?
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (1)
Cameron B
am 5 Mär. 2020
find(v==-0.999)
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!