umair_ae
Newbie level 2
alz help me in doing this problem..............
"Make an m-file to low pass filter a signal x(t) consisting of two
cosines at 5 and 20 rad/s using an RC LPF. Choose suitable values of R
and C to allow the cosine at 5 rad/s to pass through and suppress
(filter out) the cosine at 20 rad/s. Plot the spectrum of the input
and output signals, as well as the frequency response of the LPF.
Hint: Work in the frequency domain: filter output Y(w)= X(w) H(w).
Note that X(w), which is the FT of the cosines, will consist of
impulses; find out how to employ time shifted impulses in MATLAB."
"Make an m-file to low pass filter a signal x(t) consisting of two
cosines at 5 and 20 rad/s using an RC LPF. Choose suitable values of R
and C to allow the cosine at 5 rad/s to pass through and suppress
(filter out) the cosine at 20 rad/s. Plot the spectrum of the input
and output signals, as well as the frequency response of the LPF.
Hint: Work in the frequency domain: filter output Y(w)= X(w) H(w).
Note that X(w), which is the FT of the cosines, will consist of
impulses; find out how to employ time shifted impulses in MATLAB."