how to find FIR filter specs from coefficients
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
hello everyone,
I currently have a filter designed a long while ago and i only have coefficients.
i know its a FIR BPF.
i want to find the specs of the filter so i can in theory input these specs to a filter building function and recieve the exact same coefficients.
any help would be appreciated
thank you
0 comentarios
Respuestas (1)
Star Strider
el 29 de Jul. de 2020
I assume your filter is a discrete (digital) filter, not a continuous filter.
Probably the easiest would be to use the Signal Processing Toolbox tf2zpk function. It will give the zeros, poles, and gain variables. Another option is zplane to check on their locations in the unit circle.
If the filter is a continuous filter, the Control System Toolbox functions would be more appropriate.
.
2 comentarios
Star Strider
el 29 de Jul. de 2020
As for creating a filter from the [z,p,k] results, you can do the inverse and use zp2tf to create the coefficient vectors.
The only other option I can offer is to simulate the filter using freqz. You can then get the necessary characteristics from the magnitude and frequency outputs (if you request them) that you can then analyse (passband, stopband, stopband attenuation, and others) in order to synthesize your filter.
.
Ver también
Categorías
Más información sobre Digital Filtering en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!