how can I use a Ramp input to simulate an input of 1/(s^2) any help is appriciated Simulink
조회 수: 4 (최근 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!