demapp "IQ array of length 6" to "Bits array of length 12"?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have this complex array (1+j,1-j.......), whose length is 6 and i need to make a bits array of 12 length, like,
1+j = 0 0,
-1-j = 1 1
-1+j = 1 0
1-j = 0 1
Thank you!
0 Kommentare
Akzeptierte Antwort
Josh
am 6 Jun. 2019
How about this?
x = [1+j; -1-j; -1+j; 1-j];
result = [real(x)<0, imag(x)<0];
It turns a column vector of imaginary numbers into a two-column array with the results.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Visual Exploration finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!