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

조회 수: 1 (최근 30일)
Emanuel
Emanuel 2019년 6월 6일
댓글: Emanuel 2019년 6월 6일
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!

채택된 답변

Josh
Josh 2019년 6월 6일
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
Emanuel
Emanuel 2019년 6월 6일
It works, actually, but its not what i need. Also, thank you anyway

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Visual Exploration에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by