You are on page 1of 1

LAB MATLAB

03/05/13.

Zerda Santivaez Brayan A._______________________C3355-3.

a)
>> u=dsolve('Du=-10*u+2','u(0)=1')

u=

4/(5*exp(10*t)) + 1/5
b)
>> a=[1,-3/4,1/8];
>> b=[2];
>> x=2*ones(1,50);
>> zi=filtic (b,a,[1,-1]);
>>y=filter (b,a,x,zi);
>> stem(1:50,y);

12

10

10

15

20

25

30

35

40

45

50

You might also like