Simulation of transfer function with variable denominator

2 views (last 30 days)
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)

Fangjun Jiang
Fangjun Jiang on 7 Mar 2019
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
Abrar
Abrar on 8 Mar 2019
thank you for the responce. What will be the input to the integrator block in this case?
Fangjun Jiang
Fangjun Jiang on 8 Mar 2019
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.

Categories

Find more on General Applications in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!