how can I use a Ramp input to simulate an input of 1/(s^2) any help is appriciated Simulink

6 Ansichten (letzte 30 Tage)
how can I use a Ramp input to simulate an input of 1/(s^2) any help is appriciated

Antworten (1)

Ameer Hamza
Ameer Hamza am 9 Nov. 2020
See lsim() function: https://www.mathworks.com/help/ident/ref/lti.lsim.html from Control System toolbox.
Or ilasplace(): https://www.mathworks.com/help/symbolic/ilaplace.html from The Symbolic 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 Kommentare
Ameer Hamza
Ameer Hamza am 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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by