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

4 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Guillaume
Guillaume il 4 Dic 2014
m(m<0.5) = 0

Più risposte (0)

Categorie

Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by