How can I delete values below certain treshold in vector
16 次查看(过去 30 天)
显示 更早的评论
Jan-Willem van de Scheur
2018-1-11
评论: Jan-Willem van de Scheur
2018-1-11
I have a 3521x1 vector and I would like to drop all values above the value of 10. How can I do this?
0 个评论
采纳的回答
Pawel Jastrzebski
2018-1-11
编辑:Pawel Jastrzebski
2018-1-11
vector = randi(20,1,352);
newVector = vector(vector<10);
2 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!