there are two 8 bit binary values in a single variable...how can i concate these two values???
Ältere Kommentare anzeigen
a='asd';
b=double(a);
c=dec2bin(b,8);
d=length(c);
i need to get d as 24 how can i get?
1 Kommentar
hemalatha
am 17 Dez. 2014
Akzeptierte Antwort
Weitere Antworten (2)
Guillaume
am 17 Dez. 2014
Andrei Bobrov
am 17 Dez. 2014
Bearbeitet: Andrei Bobrov
am 17 Dez. 2014
on comment by Hemalatha
a='asd';
b=double(a);
c=dec2bin(b,8).';
out = c(:)';
1 Kommentar
hemalatha
am 17 Dez. 2014
Kategorien
Mehr zu Multidimensional Arrays finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!