Está en la página 1de 2

FUNCIONES CONTINUAS

T=0.05;
t=[-1:T:1];
x=exp(-t);
w=exp(t);
figure
x1=exp(-2*t);
x2=exp(-t/2);
x3=exp(-2*abs(t));
subplot(2,2,1);plot(t,x1,'g');
subplot(2,2,2);plot(t,x2,'b');
subplot(2,2,3);plot(t,x3,'r');
subplot(2,2,4);plot(t,x,'black');
%Carlos Bustamante
%4to Electrnica

FUNCIONES DISCRETAS
n=[-10:10]
x=(0.9).^n;
subplot(2,2,1);stem(n,x,'r')
w=(1.11).^n;
subplot(2,2,2);stem(n,w,'b')
x3=(0.9).^abs(n);
subplot(2,2,3);stem(n,x3,'g')
y=exp(j*pi*n/5-pi/3);
subplot(2,2,4);stem(n,y,'black')
z=x.*y;
%Carlos Bustamante
%4to Electrnica

También podría gustarte