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
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 (2024). 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 LinuxCategories
- AI, Data Science, and Statistics > Deep Learning Toolbox > Image Data Workflows > Pattern Recognition and Classification >
- AI, Data Science, and Statistics > Text Analytics Toolbox >
Find more on Pattern Recognition and Classification in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.