I am looking for a 4x6 matrix to enter letter "A" in matlab which l will use to display as a black and white image. Helpful answer will definitely be appreciated.

3 ビュー (過去 30 日間)
For eg, this the matrix for number "4". I need the matrix for letter "A" in the same format. four=[0 1 0 1;0 1 0 1;0 0 0 1;1 1 0 1;1 1 0 1;1 1 1 1];
  2 件のコメント
KALYAN ACHARJYA
KALYAN ACHARJYA 2018 年 5 月 27 日
編集済み: KALYAN ACHARJYA 2018 年 5 月 27 日
Can you clarify more? Share the image how this matrix represents four=[0 1 0 1;0 1 0 1;0 0 0 1;1 1 0 1;1 1 0 1;1 1 1 1];

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

採用された回答

Stephen23
Stephen23 2018 年 5 月 27 日
[1 0 0 1;
0 1 1 0;
0 0 0 0;
0 1 1 0;
0 1 1 0;
1 1 1 1];
  5 件のコメント
Stephen23
Stephen23 2018 年 5 月 27 日
@KALYAN ACHARJYA: I just did it by eye. No magic.
Mazhar
Mazhar 2018 年 5 月 27 日
thankyou @stephen for the answer.

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

その他の回答 (1 件)

Image Analyst
Image Analyst 2018 年 5 月 27 日
KALYAN and khizar, if you have the Computer Vision System Toolbox, the way to do it is to use the "insertText()" function.

カテゴリ

Help Center および File ExchangeImage Processing and Computer Vision についてさらに検索

製品


リリース

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by