How do I plot the step response at t=5 using Matlab?

2 Ansichten (letzte 30 Tage)
Flavio Clarizia
Flavio Clarizia am 4 Feb. 2020
Beantwortet: Star Strider am 4 Feb. 2020
I have a MIMO transfer matrix, which I have decoupled, so now I have two separated SISO systems. I would like to plot the step response shifted at t=5, but I have only found how to plot the step response for t=0 in the Matlab documentation, so I have only found
step(sys)
which plots a step response starting at t=0. I would like to plot .
How can I do this? Thanks in advance.

Akzeptierte Antwort

Star Strider
Star Strider am 4 Feb. 2020
Since:
syms s t
stp5 = laplace(heaviside(t-5),t,s)
is:
stp5 =
exp(-5*s)/s
one approach would be to multiply it by (convolve it with) ‘stp5’, as described in: Step Response Plot of Feedback Loop with Delay.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by