How to convert a string into row vector?
Show older comments
a = 753;
b= dec2bin(a);
b= '1011110001'
How can I obtain b as a row vector [1 0 1 1 1 1 0 0 0 1]?
Accepted Answer
More Answers (1)
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!