Docsity

Rectangular Pulse Shaping and Integrate-Dump Technique for Signal Processing, Exercises of Digital Communication Systems

Toggle sidebar
bg1
%%%%%%%%%%%%%%%%% Rectangular pulse Shaping %%%%%%%%%%%%%%%%%%%
j=0;
for k = 1:Nsample:Nsample*length(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)+i*I1(k:k+Nsample-1);
end
%%%%%%%%%%%%%%%%%Integrate and dump%%%%%%%%%%%%%%%%%%%%%%
j=0;
for k=1:Nsample:Nsample*length(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)+i*I2(j);
end
docsity.com

Partial preview of the text

Download Rectangular Pulse Shaping and Integrate-Dump Technique for Signal Processing and more Exercises Digital Communication Systems in PDF only on Docsity!

%%%%%%%%%%%%%%%%% 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

docsity.com