how to extract last 3 bits from binary string and then concatenate
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
lilly lord
el 29 de Mayo de 2020
Comentada: lilly lord
el 29 de Mayo de 2020
Hi, i have an array which is converted into binary string. I want to extract last three bits and then arrange in an array
Y=[123 345 981 345 650]';
%Convert into binary
Y1=dec2bin(Y);
%%%%Out put is
'0001111011'
'0101011001'
'1111010101'
'0101011001'
'1010001010'
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Data Type Conversion en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!