You are on page 1of 5

GRAFICA DEL SENO

t=0:(2*pi)/500:1;
y=sin(8*pi*t);
plot(t,y)
title('grafica del seno de t')
xlabel('tiempo')
ylabel('f(t)')
grid

t=0:.0001:1;
y=sin(28*pi*t);
plot(t,y)
title('grafica del seno de t')
xlabel('tiempo')
ylabel('f(t)')
grid

Otero Gómez David 5CV1


GRAFICA DEL COSENO
t=0:.0001:1;
y=cos(8*pi*t);
plot(t,y)
title('grafica del coseno de t')
xlabel('tiempo')
ylabel('f(t)')
grid

t=0:.0001:1;
y=cos(4*pi*t);
plot(t,y)
title('grafica del coseno de t')
xlabel('tiempo')
ylabel('f(t)')

grid

Otero Gómez David 5CV1


GRAFICA DE UNA EXPONENCIAL COMPLEJA
t=0:(2*pi)/1000:1;
y=exp(i*2*pi*t);
plot(t,real(y),t,imag(y))
title('Grafica de una funcion
exponencial compleja')
xlabel('tiempo')
ylabel('f(t)')
grid

t=0:(2*pi)/1000:1;
y=exp(i*10*pi*t);
plot(t,real(y),t,imag(y))
title('Grafica de una funcion
exponencial compleja')
xlabel('tiempo')
ylabel('f(t)')
grid

Otero Gómez David 5CV1


GRAFICA DE UNA FUNCIÓN RECTANGULAR
t=[-6 -6 0 0 6 6];
x=[0 -1 -1 1 1 0];
plot(t,x)
title('grafica de una funcion
rectangular ')
xlabel('tiempo')
ylabel('f(t)')
grid
axis([-8 8 -1.2 1.2])

t=[ 0 3 3 3 6 6];

x=[ -2 -2 0 2 2 0];
plot(t,x)
title('grafica de una funcion
rectangular ')
xlabel('tiempo')
ylabel('f(t)')
grid
axis([-1 7 -3 3])

Otero Gómez David 5CV1


GRAFICA DE UNA FUNCIÓN TRIANGULAR
t=[0 pi 2*pi];
x=[0 3 0];
plot(t,x)
title('grafica de una onda triangular')
xlabel('tiempo')
ylabel('f(t)')
grid

t=[0 2 4];
x=[0 3 0];
plot(t,x)
title('grafica de una onda triangular')
xlabel('tiempo')
ylabel('f(t)')
grid

Otero Gómez David 5CV1

You might also like