
Simulink add Transferfunction as binominal equation
13 ビュー (過去 30 日間)
古いコメントを表示
Hello,
Could you guide me on how to create a custom transfer function within a Simulink block?
I prefer not to expand each parameter individually.
Ideally, I am looking to implement a function similar to a binomial expression. For instance:
TF = p(1) / (1 + p(2)*s)^p(3)
Or, specifically:
TF = p(1) / (1 + p(2)*s)^3
0 件のコメント
回答 (2 件)
Sam Chak
2023 年 11 月 30 日
編集済み: Sam Chak
2023 年 12 月 1 日
Technically, if the parameters do not change during the simulation in Simulink, then the Zero-Pole block should achieve what you are looking for because the denominator contains only repeated poles.

2 件のコメント
Paul
2023 年 11 月 30 日
編集済み: Paul
2023 年 11 月 30 日
The zero-pole block is a very good idea. The poles are obviously at -1/p(2), but keep in mind that the gain k is not p(1). The gain needs to be adjusted to k = p(1)/p(2)^p(3) (I think).
How can the zpk command be used in a Matlab Function to implement this model?
Paul
2023 年 11 月 30 日
Hi Gunnar,
assuming that only the denominator is raised to the power p(3) as shown in the question.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Programmatic Model Editing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!