For loop using bin2dec conversion
Mostrar comentarios más antiguos
input=[1 1 0 1 0 0 1 0 ]; %input bit
x1=bin2dec(num2str(11)); %converting number to characters
x2=bin2dec(num2str(01));
x3=bin2dec(num2str(00));
x4=bin2dec(num2str(10));
xx=[x1,x2,x3,x4];
This is my code, I don't want to use individual bin2dec conversion. How can I put it in 'for loop'?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Convert Image Type en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!