Clear Filters
Clear Filters

How to replace numbers that are 'greater than or equal to' a specific number and replace them with zero's.

11 views (last 30 days)
I know this sound quite straight forward but I'm confused with the 'greater than or equal to' part.
If I have a matrix of random numbers, how can i find all the numbers that are 'greater than or equal to' 99 and replace them with zero's.
Thank you

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 10 Nov 2013
Edited: Azzi Abdelmalek on 10 Nov 2013

More Answers (1)

Jos (10584)
Jos (10584) on 10 Nov 2013
help relop

Categories

Find more on Get Started with MATLAB 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!