Can you graph a simple FIR filter frequency response from the coefficients?

3 vues (au cours des 30 derniers jours)
Mike M
Mike M le 12 Mai 2020
I have just learned how to create FIR filters (ie. the coefficients for a direct-form FIR). I have been creating the FIR filters from frequency-magnitude equations where I have an equation telling me the ideal magnitude of every frequency.
I would like to test my FIR coefficients out by graphing them against the original frequency-magnitude equation from which they're derived.
Is there any simple MATLAB code that would let me graph the frequency response in Hz of an array of 32 or 64 or 128 FIR coefficients?
Thanks.

Réponses (0)

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by