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

1 visualización (últimos 30 días)
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

Respuesta aceptada

Guillaume el 4 de Dic. de 2014
m(m<0.5) = 0

Más respuestas (0)


Más información sobre Matrices and Arrays en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by