create text matrix

Version (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


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 (, 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

changed screenshot