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 Center および File ExchangeVisual Exploration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by