how to find FIR filter specs from coefficients
조회 수: 9 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Star Strider
2020년 7월 29일
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
Star Strider
2020년 7월 29일
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.
.
참고 항목
카테고리
Help Center 및 File Exchange에서 Digital Filtering에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!