How to use trigonometric in state space(ss command)
3 views (last 30 days)
Show older comments
Hello everyone, I am a student studying nonlinear control I am stuck on how to switch -x1 at the last line into -sin(x1) Can anyone kindly tell me how to achieve it? Tons of thanks :)
% code
A=[0 1;-1 -2];
B=[0 0;0 5];
C=[1 0];
D=0;
T=ss(A,B,C,D)
tf(T)
step(tf(T),15);
6 Comments
nl2605
on 13 Mar 2014
You could do it using ode45?? How? Could you throw some light? Or do you just know that it can be done but not how!
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!