Please use MATLAB to implement Amplitude Modulation and Demodulation using MATLAB Simulink. The process can be described by the following block diagram:
fi(t) Modulating Signal + DC offset
fz(t)
fs(t)
f4(t)
Low pass filter
cos(100rt)
2cos(100tt)
Local oscillator
Local oscillator
The message signal is a cosine signal with a frequency of 5Hz, and the DC offset is 2V. The local oscillator signals are cosine signals with a frequency of 50Hz. The sampling time is 0.001s. Please show all the labeled signals f1(t), f2(t), f3(t), and f4(t) on one scope.