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

2 次查看(过去 30 天)
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

采纳的回答

Guillaume
Guillaume 2014-12-4
m(m<0.5) = 0

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by