% UW ME 547, winter 2020
% transfer function terminology and analysis
% Xu Chen
% Thursday, January 16, 2020

A = [-2 1 0;
    -1 0 1;
    0 0 0];
B = [1
    0
    1];
C = [1 0 0];
D = 0;

G_ss = ss(A,B,C,D)

[num,den] = ss2tf(A,B,C,D)
G_tf = tf(num,den)

figure, bode(G_tf)