You are on page 1of 2

nominator=[2];

denominator=[1 1 1];
g=tf(nominator,denominator)
step(2*g)
title('response')
xlabel('time')
ylabel('Y(t)')
run
soru4
g=
2
----------s^2 + s + 1
Continuous-time transfer function.

q2) I put K, and values into equation and divided into its fraction. Their pade
approximations are found separately.
For the part
30 s

1 e
40 s+1

num=[1]
den=[401]
[num,den]=pade(30,1)
pade(30,1)%1storderpadeapproximation

For the part


75 s

0,4 e
40 s +1

num1=[0.4];
den1=[401]
[num,den1]=pade(75,1)
pade(75,1)%1storderpade

You might also like