3. For the following analog signal: xa(t) = 3sin(40Ï€t) + 3cos(50Ï€t) which is sampled at a rate...

50.1K

Verified Solution

Question

Electrical Engineering

3. For the following analog signal:
xa(t) = 3sin(40Ï€t) + 3cos(50Ï€t)
which is sampled at a rate of 100 samples/second.

a. Design an IIR digital filter that will pass the firstcomponent 3sin(40Ï€t) with attenuation of
less than 1 dB and suppress the second component 3cos(50Ï€t) atleast 50 dB. The filter should be
monotonic in the passband and have ripple in the stopband.

b. Generate 500 samples of the sampled signal xa(t)at the given sampling rate and use the
filter you designed to process the sampled signal using MATLAB’s\"filter\" command.

c. Plot the original signal and the output signal in one windowusing MATLAB’s subplot
command ( in either a 1 X 2 arrangement or a 2 X 1 arrangement.Remember to title all plots and
label all axes.

Please include Matlab code. EVEN JUST PART AHELPS

Answer & Explanation Solved by verified expert
3.8 Ratings (629 Votes)
QuestionaSince the sampling frequency isSo the digital signal isWe need to pass the low frequency and stop So we willtake the pass band frequency as radsampleand stop band frequency as radsampleSince we need monotonic pass bandand ripples in passband we will use Chebyshev Type II filterMATLAB Codeclcclear allclose allfs 100Wp 045Ws 048Rp 1Rs 50N Ws cheb2ordWp Ws Rp Rsb a cheby2N Rs Wsw 0pi1000piH freqzb a wmagH absHmagHdB 20log10magHphaH angleH180pisubplot211plotwpi magHdB linewidth 2gridxlabelNormalized Frequency omega times piradsampleylabelMagnitude in dBtitleMagnitude Response of the    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students