Laboratorio 1. Sixto Llosa

Páginas: 8 (1829 palabras) Publicado: 24 de abril de 2014
LABORATORIO DE INTRODUCCIÓN A LAS TELECOMUNICACIONES

PRACTICA Nº1
TEMA: PROCESAMIENTO DE SEÑALES Y FUNCIONES PERIODICAS, USANDO MATLAB.

PROFESOR: ING. SIXTO LLOSA.

ALUMNO: ALARCON GANOZA, JULIO ANDRE.
CODIGO: 08190055

UNMSM 2013


Practica Nº1
Tema: PROCESAMIENTO DE SEÑALES Y FUNCIONES PERIODICAS, USANDO MATLAB.
I. OBJETIVO
Simular e investigar en forma experimental elprocesamiento de señales usando comandos e instrucciones del software de matlab, desarrollando los ejercicios propuestos en función de los ejercicios planteados.
II. EQUIPOS Y MATERIALES:
III. PROCEDIMIENTO.
1. Desarrolle en el programa principal de Matlab los siguientes ejemplos y anotar sus resultados.
1.1 funciones matemáticas:
>> x=sqrt(2)/2
x = 0.7071
>> y=asin(x)
y = 0.7854
>>y_deg=y*180/pi
y_deg = 45.0000
>> x=sqrt(3^2+4^2)
x = 5
>> y=rem(23,4)
y = 3
>> x=2.6,y1=fix(x),y2=floor(x),y3=ceil(x),y4=round(x)
x = 2.6000
y1 = 2
y2 = 2
y3 = 3
y4 = 3

Con otros valores:

>> x=sqrt(1)/2
x = 0.5000
>> y=asin(x)
y = 0.5236
>> y_deg=y*180/pi
y_deg = 30.0000
>> x=sqrt(2^2+5^2)
x = 5.3852
>>y=rem(22,3)
y=1
>>x=3.3,y1=fix(x),y2=floor(x),y3=ceil(x),y4=round(x)
x = 3.3000
y1 = 3
y2 = 3
y3 = 4
y4 = 3
1.2 NUMEROS COMPLEJOS:
Ejercicio 1
>> 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)

x1=-2
x2=-3

Comprobando:

>> a*x1^2+b*x1+c
ans=0
>> a*x1^2+b*x1+c
ans=0

CON OTROS VALORES:

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

x1 = 0.1583
x2 = -3.1583Comprobando:
>> a*x1^2+b*x1+c
ans=0
>> a*x1^2+b*x1+c
ans=0

Ejercicio 2
>> 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)

x1 = -2.0000 + 3.0000i
x2 = -2.0000 - 3.0000i

Comprobando:
>>a*x1^2+b*x1+c
ans=0
>>a*x2^2+b*x2+c
ans=0

OTROS VALORES:
>> a=1;b=4;c=5;
x1=(-b+sqrt(b^2-4*a*c))/(2*a)
x2=(-b-sqrt(b^2-4*a*c))/(2*a)

x1 =-2.0000 + 1.0000i
x2 =-2.0000 -1.0000i
Comprobando:
>>a*x1^2+b*x1+c
ans=0
>>a*x2^2+b*x2+c
ans=0

EJERCICIO 3, EXPRESIONES EN NÚMEROS COMPLEJOS
>> c1=1-2i;
c1=1-2j;
c2=3*(2-sqrt(-1)*3)
c3=sqrt(-2)
c4=6+sin(.5)*i
c5=6+sin(.5)*j

c2 = 6.0000 - 9.0000i
c3 = 0 + 1.4142i
c4 = 6.0000 + 0.4794i
c5 = 6.0000 + 0.4794i

OTROS VALORES:
>> c1=2-1i
c1=2-1j
c2=3*(4-sqrt(-1)*2)
c3=sqrt(-4)
c4=2+sin(.2)*ic5=2+sin(.2)*j

c1 = 2.0000 - 1.0000i
c1 = 2.0000 - 1.0000i
c2 = 12.0000 - 6.0000i
c3 = 0 + 2.0000i
c4 = 2.0000 + 0.1987i
c5 = 2.0000 + 0.1987i


EJERCICIO 4 FORMA POLAR, USANDO REAL, IMAG, ABS, Y ANGLE:
>> c1=1-2i;
c1=1-2j;
mag_cl=abs(c1)
angle_c1=angle(c1)
deg_c1=angle_c1*180/pi
real_c1=real(c1)
imag_c1=imag(c1)

mag_cl = 2.2361
angle_c1 = -1.1071
deg_c1 = -63.4349
real_c1 =1
imag_c1 = -2



OTROS VALORES:
>> c1=4+4i
c1=4-4j
mag_cl=abs(c1)
angle_c1=angle(c1)
deg_c1=angle_c1*180/pi
real_c1=real(c1)
imag_c1=imag(c1)

c1 = 4.0000 + 4.0000i
c1 = 4.0000 - 4.0000i
mag_cl = 5.6569
angle_c1 = -0.7854
deg_c1 = -45
real_c1 = 4
imag_c1 = -4


1.3. Construcción de arrays(escribir en el programa principal de matlab)
>> 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.3142 0.6283 0.9425 1.2566 1.5708 1.8850 2.1991 2.5133 2.8274 3.1416
y =
0 0.3090 0.5878 0.8090 0.9511 1.0000 0.9511 0.8090 0.5878 0.3090 0.0000
Se puede acceder a los elementos individuales del array anterior utilizando subíndices como x(1) que es el primer elemento en x y x(3)el tercer elemento de x, igualmente y(5) el quinto elemento de y. compruebe lo enunciado.
Para acceder a un tiempo en un bloque de elementos, se puede usar la notación de dos puntos: tal como
>> x(1:5)
ans =
0 0.3142 0.6283 0.9425 1.2566
>> x=(0:0.1:1)*pi
x=linspace(0,pi,11)
x =
0 0.3142 0.6283 0.9425 1.2566 1.5708 1.8850 2.1991 2.5133...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Actividad Vargas Llosa 1
  • Laboratorio #1 instrumentos de laboratorio
  • LABORATORIO DE FISCA LABORATORIO 1
  • Laboratorio 1
  • 1 laboratorio
  • laboratorio 1
  • LABORATORIO No 1
  • Laboratorio 1

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS