how to convert text into binary
Show older comments
how to convert text into binary
4 Comments
Image Analyst
on 21 Sep 2014
Like a binary image? Or like using dec2bin('abc')? As you know everything in digital computers is ultimately already binary , so since your text is already in binary we need to know what you really mean.
Stephen23
on 22 Sep 2014
Or perhaps convert 'text' to 'binary':
function out = text2binary(txt)
out = regexprep(txt,'text','binary');
end
Walter Roberson
on 27 Dec 2015
Omar Ibrahim comments
i need bin2dec convert
Walter Roberson
on 27 Dec 2015
Omar:
dec2bin('abc') - '0'
Answers (1)
Nikesh Bajaj
on 3 Jan 2016
0 votes
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!