Mapping two binary bits to one
Mostrar comentarios más antiguos
I have generate a set of bits 0 and 1,
N=10000;
m=(sign(randn(1,N))+1)/2;
The problem is how do I group the bits? For example
00=-j
01=-1
10=1
11=j
1 comentario
Image Analyst
el 1 de Dic. de 2019
No idea what you want, but look at dec2bin() and/or bin2dec().
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Numbers and Precision 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!