Question

For each of the following specifications, use built-in MATLAB functions to design two or more dif...

For each of the following specifications, use built-in MATLAB functions to design two or more different filters and display their magnitude responses. Also state what their implementation costs are (number of additions and multiplications per sample). Assume a sampling rate of 1000 sps.

- Band-pass filter with cutoff frequencies 50 and 150 Hz.

- Band-reject filter with cutoff frequencies 50 and 150 Hz.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Editor-Untitled* 3 Forward_Algorithm_CodeMakingExplanation.m UntitledX+ Command Window Command History >srcdsp.SampleRateConv

A/レ がW Original Filtered 0.11 0.1 0.09 0.08 0.07 Time (s) 0.06 0.05 0.04 0.03Editor -Untitled* Command History | Forward-Algorithm-CodeMakingExplanation.m Untitled × le3: t = 0:1/fs : 1 ; [2 | 21°sin (

Origina Filtered 20 40 80 00F 100 450 150 250 Freguency (Hz) 50 200 300 350 400 500

Cost function is same for both the cases. I hope you are going to enhance your knowledge with this.

Add a comment
Know the answer?
Add Answer to:
For each of the following specifications, use built-in MATLAB functions to design two or more dif...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • For each of the following specifications, use built-in MATLAB functions to design two or more different filters and display their magnitude responses. Also state what their implementation costs are (n...

    For each of the following specifications, use built-in MATLAB functions to design two or more different filters and display their magnitude responses. Also state what their implementation costs are (number of additions and multiplications per sample). Assume a sampling rate of 1000 sps - Low-pass filter with cutoff frequency 300 Hz. - High-pass filter with cutoff frequency 300 Hz. - Band-pass filter with cutoff frequencies 50 and 150 Hz. - Band-reject filter with cutoff frequencies 50 and 150 Hz.

  • Using the windowing functions discussed in class, design a low-pass FIR filter with a cutoff freq...

    Using the windowing functions discussed in class, design a low-pass FIR filter with a cutoff frequency of 2 kHz, a minimum stop band attenuation of 40 dB, and a transition width of 200Hz. The sampling frequency is 10kHz. 1. Using the windowing functions discussed in class, design a low-pass FIR filter with a cutoff frequency of 2 kHz, a minimum stop band attenuation of 40 dB, and a transition width of 200 Hz. The sampling frequency is 10 kHz 2....

  • 7.29. Design a 41-tap bandpass FIR filter with lower and upper cutoff frequencies of 2,500 Hz...

    7.29. Design a 41-tap bandpass FIR filter with lower and upper cutoff frequencies of 2,500 Hz and 3,000 Hz, respectively, using the following window functions. Assume a sampling frequency of 8,000 Hz. a. Hanning window function b. Blackman window function. List the FIR filter coefficients and plot the frequency responses for each design. 7.30 Design a 41-tap band reject FIR filter with cutoff frequencies of 2,500 Hz and 3,000 Hz, respectively, using the Hamming window function. Assume a sampling frequency...

  • Create a MATLAB script with the following specifications: An IIR high-pass filter that has the magnitude...

    Create a MATLAB script with the following specifications: An IIR high-pass filter that has the magnitude response below 0.2 for frequencies 0-60 Hz, and the magnitude response between 0.8 and 1.2 for frequencies between ?144 − XY? Hz and 200 Hz. Sampling frequency is 400Hz.

  • Design lowpass IIR filter with the following specifications: Filter order = 2, Butterworth type C...

    Design lowpass IIR filter with the following specifications: Filter order = 2, Butterworth type Cut-off frequency=800 Hz Sampling rate =8000 Hz Design using the bilinear z-transform design method Print the lowpass IIR filter coefficients and plot the frequency responses using MATLAB. MATLAB>>freqz(bLP,aLP,512,8000); axis([0 4000 –40 1]); Label and print your graph. What is the filter gain at the cut-off frequency 800 Hz? What are the filter gains for the stopband at 2000 Hz and the passband at 50 Hz based...

  • [MATLAB Scriptfile task] Design N-band tone vocoder with a given figure (below) in MATLAB implementing the...

    [MATLAB Scriptfile task] Design N-band tone vocoder with a given figure (below) in MATLAB implementing the given script file(bands_cutoff). This program should be able to process any sound(.wav) file. Then, graph the band-passed signals and amplitude envelopes extracted(after rectification and low-pass filtering) and waveforms of the original sound and vocoded sound. Additionally, using the output of the script file, make spectrograms of the original sound and the synthesized sound. Bandpass filter Modulation Band-limiting Envelope detection BPF RECT LPF BPF sine...

  • [MATLAB Scriptfile task] Design N-band tone vocoder with a given figure (below) in MATLAB implementing the...

    [MATLAB Scriptfile task] Design N-band tone vocoder with a given figure (below) in MATLAB implementing the given script file(bands_cutoff). This program should be able to process any sound(.wav) file. Then, graph the band-passed signals and amplitude envelopes extracted(after rectification and low-pass filtering) and waveforms of the original sound and vocoded sound. Additionally, using the output of the script file, make spectrograms of the original sound and the synthesized sound. Bandpass filter Modulation Band-limiting Envelope detection BPF RECT LPF BPF sine...

  • Design a first order high-pass Butterworth filter that achieves the following specifications: Cutoff frequency = 770...

    Design a first order high-pass Butterworth filter that achieves the following specifications: Cutoff frequency = 770 Hz Stop-band corner frequency = 132 Hz dB slope = 20dB / decade Gain at 132 Hz ≈ -14.9 dB Show working for all determined values of R and C

  • matlab code as well please. 7. (100) Design a bandpass FIR filter with the following Spec:...

    matlab code as well please. 7. (100) Design a bandpass FIR filter with the following Spec: (a) Lower cut off frequency: 1250Hz, (b) lower transition width: 1500Hz, (c) upper cutoff frequency: 2850 Hz, (d) upper transition width: 1300 Hz, (e) stop band attenuation: 60dB, (f) passband ripple 0.02 dB, and (g) sampling frequency: 8000Hz. Your answer needs to include (i) normalized frequencies, (ii) Window type, (iii) order of the filter and their numerical values computed by matlab command firwd(), and...

  • Problem 2 a) Using 5 nF capacitors, design an active broad- band first-order bandreject filter with...

    Problem 2 a) Using 5 nF capacitors, design an active broad- band first-order bandreject filter with a lower cutoff frequency of 1000 Hz, an upper cut-off frequency of 5000 Hz, and a pass band gain of 10dB. b) Draw the schematic diagram of the filter. c) Write the transfer function to find H(jωo), where ωo is the center frequency of the filter. d) What is the gain (in decibels) of the filer at the center frequency? e) Using Matlab make...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT