Professional Documents
Culture Documents
Practica 4
Practica 4
8])
H1 =
-3.4 s + 1.5
-----------------
-3.4 s + 1.5
-----------------
>> num=[-3.4,1.5];
>> den=[1,-1.6,0.8];
>> [R,P,K]=residue(num,den)
R=
-1.7000 + 1.5250i
-1.7000 - 1.5250i
P=
0.8000 + 0.4000i
0.8000 - 0.4000i
K=
[]
>> [n,d]=residue(R,P,K)
n=
-3.4000 1.5000
d=
>> H1=tf([0,-3.4,1.5],[1,-1.6,0.8])
H1 =
-3.4 s + 1.5
-----------------
>> H1=tf([0,-3.4,1.5],[1,-1.6,0.8]);
>> impulse(H1)
>> plot(T,Yi,'r',T,Ye,'b')
>>
H=
----------------------
(rad/seconds) (seconds)
>> syms s t
>> G=(5*s^3+35*s^2+73*s+47)/(s^4+9*s^3+29*s^2+41*s+20);
>> g=ilaplace(G*1/s^2);
>> pretty(g)
47 t 2 exp(-t) exp(-4 t)
20 3 48
/ 4 sin(t) \
+ ---------------------------------- - ---
25 400
>> syms a t s
>> g=t*sin(a*t)+exp(-a*t);
>> G=laplace(g);
>> pretty(G)
1 2as
----- + ----------
a+s 2 22
(a + s )
>> a=ilaplace(G)
a=
exp(-a*t) + t*sin(a*t)
>> g=
g=
incorrect.
>> g
g=
exp(-a*t) + t*sin(a*t)
>>
>> H1=tf([0,10,3],[2,4,0])
H1 =
10 s + 3
-----------
2 s^2 + 4 s
>> num=[10,3];
>> dem=[2,4];
>> [R,P,K]=residue(num,den)
R=
5.0000 -13.7500i
5.0000 +13.7500i
P=
0.8000 + 0.4000i
0.8000 - 0.4000i
K=
[]
In tf (line 351)
In ltipack.matchType
In + (line 27)
In - (line 569)
In tf (line 351)
In ltipack.matchType
In / (line 56)
In tf (line 351)
In ltipack.matchType
In + (line 27)
In - (line 569)
In tf (line 351)
In ltipack.matchType
In / (line 56)
H1 =
10 s - 8
-----------------
11
-----------------
>> syms s t
>> i = ilaplace(I);
>> pretty(i)
exp(-2 t) 17 3
------------ + -
4 4
>>