Question

3.2 Simple Bandpass Filter Design The L-point averaging filter is a lowpass filter. Its passband width is controlled by L, be

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

r Cax-wila (jfeletw) } ~ 1 hena z 2 .. Con lwen n) 7eurol jun L-1 ( همان E hh) t wel 1 jwn e L-1 jeven e to ( . 2 سے 2 du e L

--------------

%matlab

wc=0.45*pi;
w=0:0.001:pi;
L=12;
H=(1-exp(1i.*L.*(wc-w)))./(1-exp(1i.*(wc-w)));
H=H+(1-exp(-1i.*L.*(wc+w)))./(1-exp(-1i.*(wc+w)));
H=H./L;
plot(w./pi,abs(H));
xlabel('\omega/\pi');
ylabel('|H(e^{j\omega})|');

-------------------------------------

1.2 X: 0.4504 Y: 1.08 1 X: 0.3839 Y: 0.7627 X: 0.522 Y: 0.7629 0.8 (7) HI 0 0.6 0.4 X: 0.22 Y: 0.2251 X: 0.8502 Y: 0.1892 0.2

--------------

therefore

gain at

w=0.45*pi is 1.08

w=0.85*pi is 0.1894

w=0.22*pi is 0.2251

------------------

H|_{\max }=1.08

Now cut-off gain =1.08/sqrt(2)=0.7637

therefore

cut-off frequencies are

w1=0.3839*pi

w2=0.522*pi

----------------------

d)

we make magnitude at w=0.22*pi less than or equal to 0.1

by matlab

---------------

%matlab

w1=0.22*pi;
wc=0.45*pi;
L=1;
H=(1-exp(1i.*L.*(wc-w1)))./(1-exp(1i.*(wc-w1)));
while abs(H)>0.1
L=L+1;
H=(1-exp(1i.*L.*(wc-w1)))./(1-exp(1i.*(wc-w1)));
end
L

---------------------

L=26

-----------------

taking L=30

---------------

%matlab

wc=0.45*pi;
w=0:0.001:pi;
L=30;
H=(1-exp(1i.*L.*(wc-w)))./(1-exp(1i.*(wc-w)));
H=H+(1-exp(-1i.*L.*(wc+w)))./(1-exp(-1i.*(wc+w)));
H=H./L;
plot(w./pi,abs(H));
xlabel('\omega\times \pi');
ylabel('|H(e^{j\omega})|');
---------------------------------

-----------------------------------

%matlab

Add a comment
Know the answer?
Add Answer to:
3.2 Simple Bandpass Filter Design The L-point averaging filter is a lowpass filter. Its passband width...
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
  • BPF Filter Bandpass Filter The following circuit acts as a C This filter has a center...

    BPF Filter Bandpass Filter The following circuit acts as a C This filter has a center (resonance) frequency at Hz. 27-VLC and a 3-dB bandwidth of BW = Hz. 2RC 3l f, and a passband for which the signal is This means that the filter has 0 dB gain at attenuated less than 3 dB centered approximately at f, from f,-BW2 to f.+BW/2 (this passband is not exactly centered at f, but its total width is BW) 3l8 Input Signal...

  • Design a linear-phase, bandpass FIR filter using the window-based approach to meet the following specifications: ws,L...

    Design a linear-phase, bandpass FIR filter using the window-based approach to meet the following specifications: ws,L = 0.3T,ap.L = 0.45T,Wp u = 0.65T, "Au-0.8T, mini- mum stopband at (i) Is there a unique window to meet the desired specifications? If not, choose the window with minimum transition width (ii) Plot the magnitude and phase response of the designed filter using MATLAB. (iii Using the MATLAB command firpm, design the same linear-phase bandpass FIR filter via the Parks-McClellan algorithm. Plot the...

  • 1. Design a 10th-order lowpass FIR filter using the window method (fir1) to cut frequencies above...

    1. Design a 10th-order lowpass FIR filter using the window method (fir1) to cut frequencies above 30Hz in an application where the sampling frequency is 125 Hz. 2. Plot the filter coefficients that define the filter (stem). 3. Plot the frequency response of the FIR filter designed (freqz) 4. Design a 100th-order lowpass FIR filter using the window method (fir1) to cut frequencies above 30Hz in an application where the sampling frequency is 125 Hz. Plot the filter coefficients that...

  • 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...

  • [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...

  • 1. Design a bandpass filter to meet the following specificatoins: lower stopband edge = 0.3π upper...

    1. Design a bandpass filter to meet the following specificatoins: lower stopband edge = 0.3π upper stopband edge = 0.6π lower passband edge = 0.4π upper passband edge = 0.5π Rp = 0.5 dB, As = 50 dB Use a sampling frequency of 1000 Hz. You may use MATLAB and the fir1 commmand to implement. It is advisable to check the MathWorks site for help on using these commands. It is advisable to check if the commands use the ripple...

  • Manual Parks-McClellan optimization.Design a type I optimal FIR lowpass filter of length 7 (therefore L=3)

    1. In this HW you are asked to perform one round of manual Parks-McClellan optimization. Suppose that we are going to design a type I optimal FIR low- pass filter of length 7 (therefore L=3). The specs are: Wp = 1/4 and ws = 7/3. a. [10 pts] Assume that we have made an initial guess that there will be L+2 = 5 extremal frequencies at w = 0, Wp, W., 7/2, and at w = 11. Calculate xi =...

  • Part A: Design the power supply component of your amplifier and filter. You will need to...

    Part A: Design the power supply component of your amplifier and filter. You will need to produce a dual-sided power supply with +10V, 0V and –10V using the 12 VAC plugpack as an AC source. Assume that your amplifier and filter will draw around 10 mA of current on both the positive and negative voltage supplies. Your design should include components to minimise voltage ripple. Show calculations for the selection of components where practical. Show a circuit diagram for the...

  • QUESTION 1 Anna the Audiophile has asked for your help to build an amplifier and filter...

    QUESTION 1 Anna the Audiophile has asked for your help to build an amplifier and filter to take small signals from her hifi system and amplify them so that she can drive her new subwoofer. The hifi system produces AC signals at varying frequencies with 250mVrms maximum magnitude Her subwoofer requires the signals to be 20 Vrms maximum magnitude. The signals that Anna is interested in are below 200 Hz. She would like the filter to attenuate signals at frequencies...

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
ADVERTISEMENT