Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please help me with this problem 5. A DSP design engineer used the following Mat

ID: 2292290 • Letter: P

Question

Please help me with this problem

5. A DSP design engineer used the following Matlab code to design FIR filter. fs-8000; f-[ 0 0.15 0.25 0.4 0.5 1]; % edge frequencies m=[ 0 0 1 1 0 0]; % ideal magnitudes ws( 39 10 391; % error weight factors format long b remez(25.fm.w) % Parks-McClellen algorithm and Remez exchange (10 points) Review the above MATLAB program, answer the following question: 1) Which of the following method does he/she use? Mark one of them a) Optimal design method b) Fourier transform method c) Fourier transform using a window method 2) Determine the number of taps Determine the type of the filter. Mark one of the following a) lowpass b) bandpass c) highpass d) bandstop 3)

Explanation / Answer

1).

Since Parks-McClellen algorithm is a popular algorithm used in optimal design method.

Therefore, the method used here is OPTIMAL DESIGN METHOD.

Correct answer is option(a)

2).

Given b=remez(25,f,m,w) , in which the first field gives the order of the filter.

Here the order is N=25. The number of taps in Parks-McClellen algorithm is (N+1).

Therefore number of taps is: 26

3).

Here the folding frequency = fs/2=8000/2=4000

Ideal magnitudes showing value only for two frequency values.

Edge frequency=(signal frequency/folding frequency)

Refer the two code lines below.

f=[ 0 0.15 0.25 0.4 0.5 1]; % Edge frequencies

m=[ 0 0 1 1 0 0]; % Ideal magnitudes

signal frequency f1=4000*.25=1000 and

signal frequency f2=4000*0.40=1600

This means the filter passes signals within the range 1000 to 1600.For all other values of frequencies the ideal magnitude is given as ZERO. Therefore, the given type of filter is BAND PASS FILTER

OPTION (b)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote