You are on page 1of 2

GUIA DE LABORATORIO SESION 2

1. Probar el siguiente script en SCILAB:

tmax=5;

N=500;

t=0:tmax/N:(tmax-tmax/N);

A=1;

w=4*%pi;

y=exp(-t);

x=exp(-2*t);

tn=0:tmax/N:2*(tmax-tmax/N);

z=conv(y,x);

plot(tn,z*tmax/N,'g')

l=exp(-tn)-exp(-2*tn);

plot(tn,l,'r')

You might also like