How to pick values that is below a certain value in a matrix/vector
29 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Trond Oesten
am 15 Apr. 2015
Kommentiert: Trond Oesten
am 15 Apr. 2015
Hi,
I have a vector (A) that contains 10 values.
E.g. A = [1 5 9 4 6 2 1 7 6 4]
What I want is to pick values from the vector that is larger than 5 and sample these in a new vector.
Is there an easy way to do this?
Thanks!
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!