Graphing a 2nd Degree of Freedom question with initial function
1 次查看(过去 30 天)
显示 更早的评论
![](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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!