Mapping two binary bits to one
Mostra commenti meno recenti
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 Commento
Image Analyst
il 1 Dic 2019
No idea what you want, but look at dec2bin() and/or bin2dec().
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Numbers and Precision in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!