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 次查看(过去 30 天)
显示 更早的评论
a='asd';
b=double(a);
c=dec2bin(b,8);
d=length(c);
i need to get d as 24 how can i get?
采纳的回答
更多回答(2 个)
Andrei Bobrov
2014-12-17
编辑:Andrei Bobrov
2014-12-17
on comment by Hemalatha
a='asd';
b=double(a);
c=dec2bin(b,8).';
out = c(:)';
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!