How do I plot the step response at t=5 using Matlab?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Flavio Clarizia
el 4 de Feb. de 2020
Respondida: Star Strider
el 4 de Feb. de 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.
0 comentarios
Respuesta aceptada
Star Strider
el 4 de Feb. de 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.
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!