how can I use a Ramp input to simulate an input of 1/(s^2) any help is appriciated Simulink
Show older comments
how can I use a Ramp input to simulate an input of 1/(s^2) any help is appriciated
Answers (1)
Ameer Hamza
on 9 Nov 2020
See lsim() function: https://www.mathworks.com/help/ident/ref/lti.lsim.html from Control System toolbox.
For example
syms s t
trans_fun = 1/(s+1);
u = 1/s^2;
y = ilaplace(trans_fun*u);
fplot(y, [0 10])
2 Comments
Daire McGorman
on 9 Nov 2020
Ameer Hamza
on 10 Nov 2020
Ramp already have a transfer function of 1/s^2. You can just connect with a transfer function block and check the output using scope block.
Categories
Find more on Dynamic System Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!