Professional Documents
Culture Documents
Lab Report
Submitted To Submitted By
Mohammed Mynuddin Name: Romena Parvin Keya
Lecture ID: 133-33-1648 SEC: A
Department: EEE Department: EEE
Daffodil International University Daffodil International University
1: Command
>> n=[1 1];
>> G1=tf(n,d)
G1 =
s+1
-------------
s^2 + 6 s + 2
s+1
-------------
s^2 + 3 s + 1
Continuous-time transfer function.
>> n2= [1,-1];
d2= [1,0,2];
G2= tf(n2,d2)
G2 =
s–1
-------
s^2 + 2
Continuous-time transfer function.
>> step (G1)
>> bode (G1)
>> impulse (G1)
>> step (G2)
>> bode (G2)
>> impulse(G2)
>> T= series(G1,G2)
T=
s^2 - 1
-----------------------------
s^4 + 3 s^3 + 3 s^2 + 6 s + 2
Continuous-time transfer function.
>> step(T)
>> bode (T)
>> impulse (T)
Fig:- Step response for G1
s^2 + 1
---------------
3 s^2 + 4 s - 3
Continuous-time transfer function.
>> n2= [1,0];
>> d2= [4,0,1];
>> G2= tf(n2,d2)
G2 =
S
---------
4 s^2 + 1
Continuous-time transfer function.
>> step (G1)
>> bode (G1)
>> impulse (G1)
>> step (G2)
>> bode (G2)
>> impulse (G2)
>> T= parallel(G1,G2)
T=
4 s^4 + 5 s^2 + 1
---------------------------------
16 s^4 + 17 s^3 - 4 s^2 + 5 s - 2
Continuous-time transfer function.
>> step(T+1)
>> bode(T+1)
>> impulse(T+1)