AnshuDalvi
Newbie level 3
Hello, I'm a beginner to DSP and Matlab. I have to design a filter in Matlab. Please refer to the question below. Can anyone please help me with the design codes? Thanks.
Design a 50th order FIR low pass, high pass, band pass and band stop filters with some cutoff frequencies in Matlab. Find the impulse response h[n] (using formula and not with Matlab commands like fir1).
Consider a 200-point input sequence x[n] as a sum of two sinusoids, one in stop band and the other in pass band.
Find the output of filter by convolving x[n] with h[n]. Display the spectra of the input and the output to check the operation of the filter.
Design a 50th order FIR low pass, high pass, band pass and band stop filters with some cutoff frequencies in Matlab. Find the impulse response h[n] (using formula and not with Matlab commands like fir1).
Consider a 200-point input sequence x[n] as a sum of two sinusoids, one in stop band and the other in pass band.
Find the output of filter by convolving x[n] with h[n]. Display the spectra of the input and the output to check the operation of the filter.