Simulation of transfer function with variable denominator

hello,
i am trying to simulate a system which has transfer function as follows:
where the parameter A can take any real value. Now, the value of A can be set when simulation is stopped but I want to be able to change it during simulation, e.g. with a slider.
How can I do this in simulink.

回答(1 个)

You can implement this transfer function using an Integrator block, a Gain block (or a Product block) and a Sum block with a feedback loop. Then you can connect the Slider to the Gain block or the Constant block (if using Product).

2 个评论

thank you for the responce. What will be the input to the integrator block in this case?
The input will be (x-y). Just try to construct the transfer function using those blocks and you will see how A can be varied.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Additional Math and Discrete 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by