Design an envelope detector for demodulating an amplitude modulated signal arriving at the receiver. The signal arriving at the input of the demodulator is given by
v c
â
(t)=5.0â1+μx(t)âcos(w c
â
ft+Ï 0
â
)μV
where the modulation index
μ=0.3,Ï 0
â
is an arbitrary phase angle and
f c
â
=98.6MHz
is the carrier frequency. Generate a music signal
x(t)
for testing and verification of your envelope detector. You must model the various electrical components, such as the diode, and process the signal in the time domain. You should display the signal at the various stages of processing. Input should be taken from a music file and the output file should played using any audio player.