How do I delete values of grayscale under 0.5 in a matrix?

4 views (last 30 days)
hey all I have a matrix with values of 0 to 1 in order to use grayscale, however I need to delete or set any value that is below 0.5 to zero. any suggestions? john

Accepted Answer

Guillaume
Guillaume on 4 Dec 2014
m(m<0.5) = 0

More Answers (0)

Categories

Find more on Matrices and Arrays 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!