How do I plot the step response at t=5 using Matlab?
1 view (last 30 days)
Show older comments
Flavio Clarizia
on 4 Feb 2020
Answered: Star Strider
on 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.
0 Comments
Accepted Answer
Star Strider
on 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.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!