Vous êtes sur la page 1sur 4

ANLISIS DE REDES ELCTRICAS UPAO 2015-20

1 PRACTICA DE LABORATORIO

I. TTULO: REPRESENTACIN DE SEALES EN MATLAB

II. OBJETIVOS:

Aplicar el software MATLAB y su herramienta SIMULINK para la generacin de


seales.

III. MATERIALES Y EQUIPOS:

1 Computadora personal
Software Matlab

IV. PROCEDIMIENTO:

Generar una Seal Sinusoide, con los siguientes parmetros:


Amplitud: 5voltios Frecuencia: 100 Hz Fase: 30
Tiempo de Inicio: 0 seg Tiempo de Fin: 100 mseg

Matlab Script:
A=input('Ingrese Amplitud, A = ');
f=input('Ingrese Frecuencia en Hertz, f = ');
p=input('Ingrese Fase en radianes, p = ');
t1=input('Ingrese Inicio de la Seal, t1 = ');
t2=input('Ingrese Fin de la Seal, t2 = ');
t=t1:0.01/f:t2;
x=A*sin(2*pi*f*t+p);
y=A*cos(2*pi*f*t+p);
subplot(2,1,1);
plot(t,x,'r')
title('Onda Seno');
grid;
subplot(2,1,2);
plot(t,y,'b')
title('Onda Coseno');
grid;

Ingeniera Electrnica Pgina 1


ANLISIS DE REDES ELCTRICAS UPAO 2015-20

Onda Seno
5

-5
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1

Onda Coseno
5

-5
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1

En Simulink:
Tiempo de Simulacin: 50
mseg

Parametros:

Ingeniera Electrnica Pgina 2


ANLISIS DE REDES ELCTRICAS UPAO 2015-20

Amplitud
de la Seal

Desplazamiento
en el eje Y

Frecuencia
en rad/seg

Fase (coseno se
desfaza pi/2 del seno)

Tiempo de muestreo
(Ts=0.001/f, f en Hz)

Ingeniera Electrnica Pgina 3


ANLISIS DE REDES ELCTRICAS UPAO 2015-20

Grficas:
Seno

Coseno

V. CUESTIONARIO:

Describir mediante un ejemplo los siguientes comandos:

Plot, subplot, hold on, hold off, grid on, xlabel, ylabel, axis.

El Docente
Ing. Oscar De La Cruz Rodrguez

Ingeniera Electrnica Pgina 4

Vous aimerez peut-être aussi