polarity signal transmitter separated ?

조회 수: 1 (최근 30일)
abdullah qasim
abdullah qasim 2019년 2월 19일
댓글: Image Analyst 2019년 3월 14일
I want to separate the negative signal from the positive signal?
x=41 ; %number of pn
pn= [10 -5 4 - 8 10 8 9 6 -7 - 9 7 - 6 5 6 -4 2 -3 -4 5 -7 -6 -8 9 4 11 -8 -5 6 -4 -7 -8 9 7 6 3 2 4 5 6 8 7 9 -5 -9 8 -5 7 ];
xp=pn(pn>0); % positive signal
xn=pn(pn<0); % negative signal
Xn=abs(Xn); % absolute
I want to set a break between positive and negative signals by (x /4).
i:e
d=(x/4);
xv= xn+d % d is the delay
I also want to trace the length of both positive and negative signals to be able to decode the code again.
tx=[xp,xv] %transmit signal
  댓글 수: 1
Image Analyst
Image Analyst 2019년 3월 14일
Seems like you're doing that. I'm not sure what the question is, if any, in the "I want..." announcements.

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

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by