フィルターのクリア

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

1 回表示 (過去 30 日間)
Yashlin Naidoo
Yashlin Naidoo 2015 年 5 月 21 日
編集済み: Yashlin Naidoo 2015 年 5 月 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.
Yashlin Naidoo
Yashlin Naidoo 2015 年 5 月 21 日
It gives an error "Too many output arguments".

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeImages についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by