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!