MATLAB Answers

Present 0 with white pixel and 1 with black pixel in matrix

1 view (last 30 days)
Hello,
I have a matrix A, with elements are 0 or 1,
how to tell
imshow(); function
to represent 0 value with a while pixel and 1 value with a black pixel ?
when I use imshow(A); only. Sometimes I had like want I want, and sometimes I had the inverse.

  0 Comments

Sign in to comment.

More Answers (0)


Translated by