how can I use a Ramp input to simulate an input of 1/(s^2) any help is appriciated Simulink
2 次查看(过去 30 天)
显示 更早的评论
how can I use a Ramp input to simulate an input of 1/(s^2) any help is appriciated
0 个评论
回答(1 个)
Ameer Hamza
2020-11-9
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 个评论
Ameer Hamza
2020-11-10
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Assembly 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!