Replacing all values lower than 1 by 0.
Show older comments
Hi there! I have a matrix A = 495*2973 where I should replace all the values which are <= 1 with 0.
May you know a quick way to do that? Or will I be obliged to make a loop?
Thanks a lot
P.
Accepted Answer
More Answers (1)
PaoloPa
on 10 Feb 2014
0 votes
Categories
Find more on Characters and Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!