Está en la página 1de 1

clear all

clc

t=0:0.1:4
T1=0.5;
T2=1;
T3=2;
T4=4;
T5=8;

y1=T1*exp(-T1*t);
y2=T2*exp(-T2*t);
y3=T3*exp(-T3*t);
y4=T4*exp(-T4*t);
y5=T5*exp(-T5*t);

plot(t,y1,'r',t,y2,'r',t,y3,'r',t,y4,'r',t,y5,'r')
hold on

z1=T1*(exp(-(T1*t).^2/2)/(sqrt(2*pi)));
z2=T2*(exp(-(T2*t).^2/2)/(sqrt(2*pi)));
z3=T3*(exp(-(T3*t).^2/2)/(sqrt(2*pi)));
z4=T4*(exp(-(T4*t).^2/2)/(sqrt(2*pi)));
z5=T5*(exp(-(T5*t).^2/2)/(sqrt(2*pi)));

plot(t,z1,'b',t,z2,'b',t,z3,'b',t,z4,'b',t,z5,'b')

%IMPULSO UNIT�RIO

n=-20:20; % specify index n


delta=(n==0); % define the delta sequence
stem(n,delta) % plot the delta sequence
xlabel(�Sample�);
ylabel(�Amplitude�);
title(�Unit Impulse Signal�);

También podría gustarte