there are two 8 bit binary values in a single variable...how can i concate these two values???
古いコメントを表示
a='asd';
b=double(a);
c=dec2bin(b,8);
d=length(c);
i need to get d as 24 how can i get?
採用された回答
その他の回答 (2 件)
Guillaume
2014 年 12 月 17 日
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(:)';
カテゴリ
ヘルプ センター および File Exchange で Multidimensional Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!