How can I delete values below certain treshold in vector

17 次查看(过去 30 天)
I have a 3521x1 vector and I would like to drop all values above the value of 10. How can I do this?

采纳的回答

Pawel Jastrzebski
Pawel Jastrzebski 2018-1-11
编辑:Pawel Jastrzebski 2018-1-11
vector = randi(20,1,352);
newVector = vector(vector<10);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by