Está en la página 1de 11

PROGRAMACION Y SIMULACION AVANZADA

INTEGRANTES (3):
Jara Grados, Rolando
Flores Ruiz, Miguel ngel
Cavero Gonzales, Jess Manuel

COD. 1120979
COD. 0831056
COD. 1020551

Pregunta 1

a) Funcin de Transferencia

( )
( )

R= 4 ohm
C= 0.001 F + K
L= 0.1 H

b)
K=0 F

K= 0.001 F

K=0.002 F

K= 0.003 F

K= 0.004 F

K= 0.005 F

C)

load('Datos.mat')
load('Datos1.mat')
load('Datos2.mat')
load('Datos3.mat')
load('Datos4.mat')
load('Datos5.mat')
subplot(3,2,1),plot(Datos(1,:),Datos(2,:)),title ('k=0 F')
subplot(3,2,2),plot(Datos1(1,:),Datos1(2,:)),title ('k=0.001 F')
subplot(3,2,3),plot(Datos2(1,:),Datos2(2,:)),title ('k=0.002 F')
subplot(3,2,4),plot(Datos3(1,:),Datos3(2,:)),title ('k=0.003 F')
subplot(3,2,5),plot(Datos4(1,:),Datos4(2,:)),title ('k=0.004 F')
subplot(3,2,6),plot(Datos5(1,:),Datos5(2,:)),title ('k=0.005 F')

PREGUNTA 2

%% Desarrollo de la pregunta 2
x1=0:0.01:3
y1=2*cos(32.7*pi*x1);
plot(x1,y1)
hold on
x2=1.5:0.01:2.5
y2=2*cos(41.2*pi*x2);
plot(x2,y2,'r')
hold on
x3=3:0.01:4
y3=2*cos(43.7*pi*x3);
plot(x3,y3,'b')
hold on

% es la frecuencia 32.7

% es la frecuencia 41.2

% es la frecuencia 43.7

x4=1:0.01:3.5
y4=2*cos(27.5*pi*x4);
% es la frecuencia 27.5
plot(x4,y4,'m')
title('Notas musicales')

También podría gustarte