Filter Design using FIR method question

4 vues (au cours des 30 derniers jours)
Jonathan George
Jonathan George le 30 Avr 2022
I'm aware that the window method of FIR filter design samples the time-domain function obtained when an inverse Fourier transform of an ideal 'brickwall' filter is obtained. The samples produced are subsequently truncated (and possibly smoothened) using a window function.
How would I then use this technique for filter design to determine the coefficients of a 14th order low pass filter which has a cutoff frequency of 95Hz using a rectangular window function? The cutoff frequency corresponds to the frequency at which the magnitude of the 'brickwall' filter (from which the filter is derived) transitions from 1 to 0.
The filter is designed to work for signals sampled at 1000Hz.
Additionally, how would I sum the magnitudes of these coefficients? Would sum(x) suffice?

Réponses (1)

Chandra
Chandra le 6 Mai 2022
Hi,
use fir1 function to get the coefficients and use freqz for frequency response or use filter function to filter the signal
The filter order and cut off frequency can be mentioned in fir1.
b = fir1(14,0.00475,'low');% window type can also be represented after the low
you refer to this link for brickwall filter response

Catégories

En savoir plus sur Signal Processing Toolbox dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by