Graphing a 2nd Degree of Freedom question with initial function
4 次查看(过去 30 天)
显示 更早的评论

A = [0, 1; -5, -2];
B = [0 ; 1];
x0 = [5; 3];
sys = ss(A,[], B,[]);
[y,t,x] = initial(sys,x0);
sys = ss(A,[], B,[]);
initial(sys,x0);
I'm trying to graph a 2-DOF system by using the initial function to plot position x1 of the mass if the initial position is at 3 and innitial velocity is 2
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!