how to convert text into binary
显示 更早的评论
how to convert text into binary
4 个评论
Image Analyst
2014-9-21
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
2014-9-22
Or perhaps convert 'text' to 'binary':
function out = text2binary(txt)
out = regexprep(txt,'text','binary');
end
Walter Roberson
2015-12-27
Omar Ibrahim comments
i need bin2dec convert
Walter Roberson
2015-12-27
Omar:
dec2bin('abc') - '0'
回答(1 个)
Nikesh Bajaj
2016-1-3
0 个投票
类别
在 帮助中心 和 File Exchange 中查找有关 Data Type Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!