A= zeros(10,10);
B=ones(10,10);
C=[ A B A B A B A];
D=[C;C;C;C;C;C;C;C];
imshow(D)

 採用された回答

Walter Roberson
Walter Roberson 2021 年 12 月 13 日

0 投票

Yes.
It could also be considered a black and white image.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeModify Image Colors についてさらに検索

質問済み:

2021 年 12 月 13 日

回答済み:

2021 年 12 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by