How can I change the elements to zero when they are less than specific threshold
61 views (last 30 days)
Show older comments
Milad Naderloo
on 13 Sep 2020
Commented: Milad Naderloo
on 13 Sep 2020
I have A = [1,10,4,8,25,80,1,4,8]
I want to put zerpo those elements which are less than 5
in fact, 5 is my threshold
0 Comments
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!