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

4 visualizaciones (ú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
Guillaume el 4 de Dic. de 2014
m(m<0.5) = 0

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices 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