Demo entry 6285024

m

   

Submitted by anonymous on Oct 18, 2016 at 05:56
Language: Matlab. Code size: 202 Bytes.

A=[0,1;-3,-2];
B=[0;1];
C=[1,0];
D=0;
[num,den] = ss2tf(A,B,C,D);
s=tf('s');
G = tf(num,den);
subplot(3,1,1);
step(G);
subplot(3,1,2);
G1=G/s^2;  
impulse(G1);
subplot(3,1,3);
G2=G/(s^2+1);
impulse(G2);

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).