MATLAB Answers

0

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

Asked by john creighton on 4 Dec 2014
Latest activity Commented on by john creighton on 4 Dec 2014
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

  0 Comments

Sign in to comment.

1 Answer

回答者: Guillaume
2014 年 12 月 4 日
 採用された回答

m(m<0.5) = 0

  1 Comment

john creighton 2014 年 12 月 4 日
thanks Guillaume

Sign in to comment.