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 vues (au cours des 30 derniers jours)
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 commentaires
KALYAN ACHARJYA
KALYAN ACHARJYA le 27 Mai 2018
Modifié(e) : KALYAN ACHARJYA le 27 Mai 2018
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];

Connectez-vous pour commenter.

Réponse acceptée

Stephen23
Stephen23 le 27 Mai 2018
[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 commentaires
Stephen23
Stephen23 le 27 Mai 2018
@KALYAN ACHARJYA: I just did it by eye. No magic.

Connectez-vous pour commenter.

Plus de réponses (1)

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

Catégories

En savoir plus sur Image Processing and Computer Vision dans Help Center et File Exchange

Produits


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by