Está en la página 1de 10

INFORME N 1

PROCESAMIENTO DE SEALES Y FUNCIONES PERIDICAS,


USANDO MATLAB

Docente: Sixto Llosa


Horario: Lunes de 9:00 a.m - 12:00 p.m
Alumno: Vanessa Luz Vsquez Garro 15190041
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS LABORATORIO DE INT. A LAS TELECOMUNICACIONES

INFORME N 1

TEMA 1 : PROCESAMIENTO DE SEALES Y FUNCIONES


PERIDICAS, USANDO MATLAB
I. OBJETIVO:

Haciendo uso de MATLAB, verificar la serie trigonomtrica y exponencial de


Fourier y desarrollar los ejercicios propuestos en el cuestionario:

II. PROCEDIMIENTO:

1. DESARROLLAR LOS EJEMPLOS Y ANOTAR LOS RESULTADOS

I. Funciones matemticas

x=sqrt(2)/2
y=asin(x)
y_deg=y*180/pi
x=sqrt(3^2+4^2)
y=rem(23,4)
x=2.6, y1=fix(x), y2=floor(x), y3=ceil(x),
y4=round(x)

II. Nmeros complejos

a=1; b=5; c=6;


x1=(-b+sqrt(b^2-4*a*c))/(2*a)
x2=(-b-sqrt(b^2-4*a*c))/(2*a)
a*x1^2+b*x1+c
a*x2^2+b*x2+c

a=1; b=4; c=13;


x1=(-b+sqrt(b^2-4*a*c))/(2*a)
x2=(-b-sqrt(b^2-4*a*c))/(2*a)
a*x1^2+b*x1+c
a*x2^2+b*x2+c

c1=1-2i
c2=1-2j
c2=3*(2-sqrt(-1)*3)
c3=sqrt(-2)
c4=6+sin(.5)*i
c5=6+sin(.5)*j
mag_c1=abs(c1)
angle_c1=angle(c1)
deg_c1=angle_c1*180/pi
real_c1=real(c1)
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS LABORATORIO DE INT. A LAS TELECOMUNICACIONES

imag_c1=imag(c1)

III. Construccin de arrays

x=[0.1*pi .2*pi .3*pi .4*pi .5*pi .6*pi .7*pi .8*pi .9*pi pi]
y=sin(x)
x=(0:0.1:1)*pi
x=linspace(0,pi,11)

2. GRAFICA DE SEALES PERIODICAS

I. Funciones trigonomtrica

x=linspace(0,4*pi,60);
y=sin(x);
figure(1)
plot(x,y)
z=cos(x);
figure(2)
plot(x,z,x,y)
figure(3)
plot(x,y,x,y,'*')
figure(4)
plot(y,z)
figure(5)
plot(x,y,x,2*y.*z,'--')
grid
xlabel('variable ind x')
ylabel('variables independientes')
title('2senxcosxsen2x')
figure(6)
plot3(y,z,x)
grid
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS LABORATORIO DE INT. A LAS TELECOMUNICACIONES
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS LABORATORIO DE INT. A LAS TELECOMUNICACIONES

II. Generacin de seales discontinuas

x=linspace(0,16,100);
y=sin(x);
z=(y>=0).*y;
z=z+0.5*(y<0);
z=(x<=14).*z;
plot(x,z)
xlabel('x')
ylabel('f(x)')
title('seal discontinua')
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS LABORATORIO DE INT. A LAS TELECOMUNICACIONES

III. Manipulacin de grficos

x=linspace(0,6*pi,60);
y=sin(x);
z=cos(x);
plot(x,y)
hold on
plot(x,z,'m')
hold off
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS LABORATORIO DE INT. A LAS TELECOMUNICACIONES

IV. Subdivisin de ventana de graficas

x=linspace(0,4*pi,60);
y=sin(x);
z=cos(x);
a=2*sin(x).*cos(x);
b=sin(x)./(cos(x)+eps);
subplot(2,2,1)
plot(x,y), axis([0 4*pi -1 1]), title('sin(x)')
subplot(2,2,2)
plot(x,z), axis([0 4*pi -1 1]), title('cos(x)')
subplot(2,2,3)
plot(x,a), axis([0 4*pi -1 1]), title('sin(2x)')
subplot(2,2,4)
plot(x,b), axis([0 4*pi -40 40]), title('sin(x)/cos(x)')
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS LABORATORIO DE INT. A LAS TELECOMUNICACIONES
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS LABORATORIO DE INT. A LAS TELECOMUNICACIONES
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS LABORATORIO DE INT. A LAS TELECOMUNICACIONES

También podría gustarte