Present 0 with white pixel and 1 with black pixel in matrix
2 ビュー (過去 30 日間)
古いコメントを表示
Hassan Zhairabany
2020 年 5 月 28 日
コメント済み: Hassan Zhairabany
2020 年 5 月 28 日
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 件のコメント
採用された回答
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!