thank u for your response....each 8 bit displayed in different lines(that means in the form of matrix)..i want to concate those 24 bits..how can i concate ?
there are two 8 bit binary values in a single variable...how can i concate these two values???
1 view (last 30 days)
Show older comments
a='asd';
b=double(a);
c=dec2bin(b,8);
d=length(c);
i need to get d as 24 how can i get?
Accepted Answer
More Answers (2)
Andrei Bobrov
on 17 Dec 2014
Edited: Andrei Bobrov
on 17 Dec 2014
on comment by Hemalatha
a='asd';
b=double(a);
c=dec2bin(b,8).';
out = c(:)';
See Also
Categories
Find more on Logical 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!