- #1
dRic2
Gold Member
- 883
- 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:
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
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