Graphing a 2nd Degree of Freedom question with initial function

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

Risposte (0)

Categorie

Scopri di più su Graph and Network Algorithms in Centro assistenza e File Exchange

Richiesto:

il 7 Apr 2018

Community Treasure Hunt

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

Start Hunting!

Translated by