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.

Answers (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 Comments

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.

Sign in to comment.

Products

Asked:

on 7 Mar 2019

Commented:

on 8 Mar 2019

Community Treasure Hunt

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

Start Hunting!