
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

%%%%%%%%%%%%%%%%% Rectangular pulse Shaping %%%%%%%%%%%%%%%%%%% j=0; for k = 1:Nsample:Nsamplelength(stream) j=j+1; R1(k:k+Nsample-1,1)=real(transmitted2(j)); I1(k:k+Nsample-1,1)=imag(transmitted2(j)); upsam(k:k+Nsample-1,1)=R1(k:k+Nsample-1)+iI1(k:k+Nsample-1); end
%%%%%%%%%%%%%%%%%Integrate and dump%%%%%%%%%%%%%%%%%%%%%% j=0; for k=1:Nsample:Nsamplelength(stream) j=j+1; R2(j,1)=(sum(real(noisy2(k:k+Nsample-1)))/Nsample); I2(j,1)=(sum(imag(noisy2(k:k+Nsample-1)))/Nsample); downsam(j,1)=R2(j)+iI2(j); end