Académique Documents
Professionnel Documents
Culture Documents
BET V A/B
Note:
1). Write your name and registration number clearly on the first page.
2). There are five parts of this assignment. Submit the respective plots and spectrums along
with each part.
3). Please submit your completed assignment (hardcopy only!) to me on
Thursday 08 April. Late submission after this date will be penalized!
1. Generate a sampled message and carrier signal in time domain, Remember to select the
sampling frequency according to the highest frequency of signal in the system.
>>A = 2;
>>Fs = 4000; %sampling frequency
>>Ts = 1/Fs; %sampling period
>>Tmax = 0.1;
>>t = 0:Ts:Tmax; %time vector
>>x = cos(2*pi*100*t); %low pass message signal
>>y = A*cos(2*pi*500*t); %high pass carrier
>>plot(t,x);grid
>>xlabel('time');
>>title('message signal in time domain')
2. Observe the frequency spectrum of carrier and modulating signal by modifying the
following MATLAB code:
4. Plot and observe the frequency translation of message signal in frequency domain.
5. Demodulate the DSBSC signal generated before by modifying the following code or
otherwise in time domain only
>> figure;subplot(1,2,1);plot(t,dam);grid
>> h=filter(nf,df,dam);subplot(1,2,2);plot(t,h);grid
>> xlabel('time');