MATLAB Answers

0

demapp "IQ array of length 6" to "Bits array of length 12"?

Emanuel 님이 질문을 제출함. 6 Jun 2019
최근 활동 Emanuel 님이 댓글을 추가함. 6 Jun 2019
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

로그인 to comment.

답변 수: 1

Josh 님의 답변 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.

  댓글 수: 1

It works, actually, but its not what i need. Also, thank you anyway

로그인 to comment.



Translated by