Ts = 1; % Symbol interval. Tb = Ts/3; % Bit interval. fs = 1000; % Sampling rate. dt = 1/fs; % Sampling interval. N = 10; % Number of symbols. t = -N/2 : dt : N/2; % Sequence transmission time. m = [0,1,2,3,4,5,6,7]; % Equally spaced. Am = -3.5+m; % The amplitude of the m-th waveform.
%% Task(1) Randomly generate a sequence of ten 8-PAM signals. fori=1:length(t) if(fix((i-1)/fs)==((i-1)/fs)) temp=randi(7); Sm(i)=Am(temp); else Sm(i)=Sm(i-1); end end [f,Sf] = T2F(t,Sm); % TF
%% Task(2) Consider a band-limited noiseless channel. % Generate a band-limited noiseless channel H(f)=1, |f|≤3Hz. for k = 1 : length(f) ifabs(f(k))>3 Hf1(k)=0; else Hf1(k)=Ts; end end for k = 1 : length(f) ifabs(f(k))>300 Hf2(k)=0; else Hf2(k)=Ts; end end
The response of the noise-free band-limited channel is lower than the rectangular window of H(f)=1 at the cut-off frequency. After the 8-PAM signal passes through the band-limited channel, the high-frequency information is filtered out, and the restored information waveform becomes smooth; if continue to increase the cut-off frequency, the restored signal waveform will contain more original information, and the same bit error rate will decrease accordingly.
The result of time domain convolution is the same as the result of inverse Fourier transform after frequency multiplication.
Under a band-limited noiseless channel, the larger the passband, the smoother the signal.
Copyright:
Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source.