Filter design resource recommendation
1 回表示 (過去 30 日間)
古いコメントを表示
I am new to matlab filter design and I found the help file of matlab is a little not comple. For example, in the help file of Butterworth filter design. it said,
[A,B,C,D] = butter(___) designs a lowpass, highpass, bandpass, or bandstop digital Butterworth filter and returns the matrices that specify its state-space representation.
However I still do not know how to apply the matrices to signal I want to filter after I get the matrices.
Another example is the filter designer (fdatool.) In the file->Export there is option to export as "Object" or "System Object" but I do not know what is the difference between the two options.
I am wondering if there is a general matlab guide for filter design?
0 件のコメント
採用された回答
Star Strider
2017 年 6 月 4 日
You do not filter with the state space representation of your filter. You must either use a designfilt (link) object, a transfer function, or preferably a second-order-section representation of your filter. Use the filtfilt (link) function to do the actual filtering.
I sent you some example code on the design and implementation of a Chebyshev Type II filter with your previous post, so I refer you to it and will not repost it here. The only changes you would need to make are to substitute the buttord function for the cheb2ord function, and the butter function for the cheby2 function to design and implement your Butterworth filter. The rest of the code remains the same.
For a general introduction, see Filtering Data With Signal Processing Toolbox Software. There are related discussions available as links on the Digital Filtering page.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Digital Filter Design についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!