create text matrix

takes a string, returns a matrix of 1s and 0s. text string is 'painted' by 1s on a background of 0s

You are now following this Submission

sometimes, you want an image that contains text, instead of manually drawing 1s and 0s , this functino takes a string and returns a matrix of 1s and 0s in the form of that string. (tjhe matrix is rectangular the text string is represented as being painted by 1s)

Cite As

Avishalom (2026). create text matrix (https://se.mathworks.com/matlabcentral/fileexchange/28036-create-text-matrix), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

changed screenshot

1.0.0.0