create text matrix

Version 1.2.0.0 (1.21 KB) by Avishalom
takes a string, returns a matrix of 1s and 0s. text string is 'painted' by 1s on a background of 0s

926 Downloads

Updated 28 Jun 2010

View License

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 (2023). create text matrix (https://www.mathworks.com/matlabcentral/fileexchange/28036-create-text-matrix), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R10
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.2.0.0

changed screenshot

1.0.0.0