Get Lapalce transform from filter specifications
3 ビュー (過去 30 日間)
古いコメントを表示
Hello,
Does exist a function that accept as input filter specification:
- filter type: 'lowpass", "highpass"
- passband cut-off frequency and attenuation
- stopband cut-off frequency and attenuation
and outout Laplace coefficient of synthesized filter ?
Thanks in advance.
Pavel.
0 件のコメント
採用された回答
Star Strider
2022 年 10 月 6 日
Not that I am aware of, however it would be relatively straightforward to create it —
Rp = 1;
Rs = 50;
[b,a] = ellip(5, Rp, Rs, 0.5, 's')
H = tf(b,a) % Control System Toolbox
syms s
digits(5)
H = vpa(poly2sym(b,s)) / vpa(poly2sym(a,s)) % Symbolic Math Toolbox
Experiment to get the result you want.
.
4 件のコメント
Star Strider
2022 年 10 月 6 日
編集済み: Star Strider
2022 年 10 月 6 日
It does, because most of the MATLAB filter functions design digital filters. You can use the inverse of the bilinear function (or the d2c function) to convert them to continuous time filters.
EDIT — (6 Oct 2022 at 21:46)
With respect to the order, all filters must have some sort of order defined. In MATLAB, this is done in a separate function, for example ellipord, buttord, and others for other filter types. The order is a function of the poles and zeros, and those are functions of the filter parameters that deifine the transition regions and passband and stopband attenuation, among others.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Digital Filter Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!