Ltiview and negative step response of a linear system

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 3K views
dRic2
Gold Member
Messages
887
Reaction score
225
Hi, my professor gave me I code where he used to evaluate the answer of a linear system to a step increase in the input variables like this:

Code:
MySystem = ss(A, B, C, D);
ltiveiw('step', MySystem, 'r-', 300);

My problem is that with this code I get the response only for a positive step. I'd like to see what happens for a negative step as well, but I can't figure out how to do it.

Thanks
Ric
 
Physics news on Phys.org
Thanks, I'll keep searching.

(ended up using SimuLink)
 
Last edited: