Professional Documents
Culture Documents
Báo cáo thí nghiệm Tín hiệu hệ thống
Báo cáo thí nghiệm Tín hiệu hệ thống
Kỳ học: 20221
Bài 3:
a) y’(t) + 2y(t) = 2x(t), x(t) = u(t), y(0) = -1
Bài làm:
>>syms y(t) Y s F;
x(t)=heaviside(t);
F=subs(F,laplace(y(t), t, s),Y);
F=subs(F,y(0),-1);
Y=solve(F,Y);
y=ilaplace(Y)
( y = 1 - 2*exp(-2*t) )
>> ezplot(y,[0,5])
b) y’(t) -2y(t) = 2x(t), x(t) = u(t), y(0) =-1
Bài làm:
>> syms y(t) Y s F;
x(t)=heaviside(t);
F=subs(F,laplace(y(t), t, s),Y);
F=subs(F,y(0),-1);
Y=solve(F,Y);
y=ilaplace(Y)
( y = -1 )
>> ezplot(y,[0,5])