Graphing a 2nd Degree of Freedom question with initial function
1 view (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171910/image.png)
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 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!