How can I delete values below certain treshold in vector
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jan-Willem van de Scheur
am 11 Jan. 2018
Kommentiert: Jan-Willem van de Scheur
am 11 Jan. 2018
I have a 3521x1 vector and I would like to drop all values above the value of 10. How can I do this?
0 Kommentare
Akzeptierte Antwort
Pawel Jastrzebski
am 11 Jan. 2018
Bearbeitet: Pawel Jastrzebski
am 11 Jan. 2018
vector = randi(20,1,352);
newVector = vector(vector<10);
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Call C++ from MATLAB 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!