Info

此问题已关闭。 请重新打开它进行编辑或回答。

I want to reshape the original vectors?

1 次查看(过去 30 天)
abdullah qasim
abdullah qasim 2019-2-27
关闭: madhan ravi 2019-2-27
hi every one
If I have the following vectors
x= [1 2 -6 9 -7 8 -8 -5 2 4 -6 4 -4 -5 -7 6 10 2 3 7 -8 9 -8 -5 4 -6]
Xp=x(x>0)
Xn=x(x<0)
Xn=abs(Xn) %%%%%%%%%%%%%%%%%%%%%%%%%
after separated the signal is transmitted
fr=[length(Xp), Xp, Xn]
then in the recevier Rx
rp=fr(2:fr(1)+1); % positive Rx
rn=fr(2 + fr(1):end); %negativ Rx
then I want to reshape the vector as original vectors
can any one help me
thank u very much

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by