Graphing a 2nd Degree of Freedom question with initial function

4 views (last 30 days)
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

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!