if
x=[1 2 -5 7 -9 4 -6 7 -6 8 -5 2 -1 5 -6 -8 -9 7 4 -1 ]
x + = if x(k) ≥ 0
0 otherwise
x-= if x(k) < 0
0 otherwise
. The positive signal x +(k) is transmitted in the first subframe .
the second subframe is used to carry the flipped (inverted polarity) signal −x −(k)
then send full signal

4 件のコメント

darova
darova 2019 年 9 月 19 日
Do you have any attempts? Any ideas how to implement this?
abdullah qasim
abdullah qasim 2019 年 9 月 19 日
yes by using " if and otherelse "
or using another method
madhan ravi
madhan ravi 2019 年 9 月 19 日
Post the attempted code.
darova
darova 2019 年 9 月 19 日
please

サインインしてコメントする。

 採用された回答

Gokul
Gokul 2019 年 9 月 19 日

0 投票

You question is not very clear to me, but for the first part of it, I belive you want to this:
x=[1 2 -5 7 -9 4 -6 7 -6 8 -5 2 -1 5 -6 -8 -9 7 4 -1];
y=x+(x>=0)*2-1

その他の回答 (0 件)

質問済み:

2019 年 9 月 19 日

回答済み:

2019 年 9 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by