What the binary language which MATLAB deals with it to convert text to binary ?
3 views (last 30 days)
DGM on 12 Apr 2022
textchar = 'Hello world';
textbin = dec2bin(double(textchar),8)
if you want that as a logical array, then
textlogical = textbin == '1'
if you want to change the endianness
textbin = fliplr(textbin)
and so on