How can I delete values below certain treshold in vector
18 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Jan-Willem van de Scheur
il 11 Gen 2018
Commentato: Jan-Willem van de Scheur
il 11 Gen 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 Commenti
Risposta accettata
Pawel Jastrzebski
il 11 Gen 2018
Modificato: Pawel Jastrzebski
il 11 Gen 2018
vector = randi(20,1,352);
newVector = vector(vector<10);
2 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Fourier Analysis and Filtering in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!