How do i display a binary matrix in the command window for a 2D axis plot?

1 次查看(过去 30 天)
My code is below;

回答(1 个)

Walter Roberson
Walter Roberson 2015-5-21
num2str(YourBinaryMatrix, '%1d ')
  5 个评论
Yashlin Naidoo
Yashlin Naidoo 2015-5-21
I just want to show the binary values in the command window to show my image is a binary image,like in the command window 0 and 1 will be displayed to illustrate my image is a binary one.

请先登录,再进行评论。

类别

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

产品

Community Treasure Hunt

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

Start Hunting!

Translated by