You are on page 1of 5

clc

clear
close all
t= linspace(-10,10,1000);
u1t=3*heaviside(t);
plot(t,u1t,'Linewidth',2);
grid on
title('\bfFUNCION ESCALON')
YLIM([-4 4])
Pause
clc
clear
close all
t= linspace(-10,10,999);
u1t=dirac(t-2);
A=dirac(0)
plot(t,u1t,'Linewidth',2);
grid on
title('\bfFUNCION IMPULSO')
YLIM([-4 4])

Pause
clc
clear
close all
t= -10:0.01:10;
u1t=t.*heaviside(t+2)+2*heaviside(t+2);
plot(t,u1t,'Linewidth',2);
grid on
title('\bfFUNCION RAMPA')
YLIM([-4 12])
Pause
clc
clear
close all
t= -10:0.01:10;
a=0.5;
u1t=exp(a*t);
plot(t,u1t,'Linewidth',2);
grid on

title('\bfFUNCION EXPONENCIAL CON a POSITIVO')


YLIM([-4 12])
pause
clc
clear
close all
t= -10:0.01:10;
a=-0.5;
u1t=exp(a*t);
plot(t,u1t,'Linewidth',2);
grid on
title('\bfFUNCION EXPONENCIAL CON a NEGATIVO')
YLIM([-4 12])
pause
clc
clear
close all
t= -10:0.01:10;
a=0;
u1t=exp(a*t);
plot(t,u1t,'Linewidth',2);

grid on
title('\bfFUNCION EXPONENCIAL CON a = 0')
YLIM([-3 3])
pause
clc
clear
close all
t= -10:0.01:10;
a=0.05;
u1t=-5*t.*heaviside(t)+ 5*t.*heaviside(t-5);
plot(t,u1t,'Linewidth',2);
grid on
title('\bfEJEMPLO')

f(t)=-5*t u(t)+5t u(t-5)

EJEMPLO

-5

-10

-15

-20

-25
-10

-8

-6

-4

-2

10

You might also like