DSP! Circuits MATLAB help!!! :( Determine the impulse response and frequency res
ID: 2080200 • Letter: D
Question
DSP! Circuits MATLAB help!!! :( Determine the impulse response and frequency responses of a low pass FIR filter with the following specifications (with and without hamming window). As an example, consider the design of a length N = 81 low pass filter with cutoff frequency omega_c = 0.3 pi. (Assume, so the Nyquist range will be from -1Hz to 1Hz) Design the 81^th order FIR filter with bandwidths (0.001 10 Hz; 100 150 Hz). Plot the filter's frequency response. Plot the output signals if the input signal is the given signals (sampling frequency = 1000 Hz).Explanation / Answer
Fctff = 0.3*pi; %Cutoff freuency
FO=81-1; %Filter order=length of filter-1
de1 = designfilt('lowpassfir','CutoffFrequency',Fctff,'FilterOrder', FO,'Window','hamming');
impz(de1,50);%Impulse response
freqz(de1,50);%Frequency response
de2 = designfilt('lowpassfir','CutoffFrequency',Fctff,'FilterOrder', FO);%Without Hamming window
impz(de2,50);
freqz(de2,50);
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.