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

1 view (last 30 days)
My code is below;

Answers (1)

Walter Roberson
Walter Roberson on 21 May 2015
num2str(YourBinaryMatrix, '%1d ')
  5 Comments
Yashlin Naidoo
Yashlin Naidoo on 21 May 2015
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.

Sign in to comment.

Categories

Find more on Images in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!