Documentos de Académico
Documentos de Profesional
Documentos de Cultura
informe
final n2
CURSO:
PROFESOR:
Sixto llosa
HORARIO:
mircoles (10-1)pm
ALUMNO:
CODIGO:
12190122
AO
2015
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. Desarrolle la serie trigonomtrica de Fourier de la
funcin:
f ( t )=
en0 t
{AA ,,en
t 2
f (t) =
Fs=1000;
t=(1:100)/Fs;
w=2*pi*10;
f=(8/pi)*(sin(w*t)+(1/3)
*sin(3*w*t)
+(1/5)*sin(5*w*t)+(1/7)
*sin(7*w*t)
+(1/9)*sin(9*w*t));
plot(t,f)
grid
f ( t )= A , para /2 t /2
A , para /2 t 3 /2
SOLUCION:
Dado que f(t) = funcin par cuya serie trigonomtrica de Fourier esta
dada por:
f (t) =
Fs=1000;
t=(1:100)/Fs;
w=2*pi*10;
f=(8/pi)*(cos(w*t)-(1/3)*cos(3*w*t)+(1/5)*cos(5*w*t)-(1/7)*cos(7*w*t)
+(1/9)*cos(9*w*t)-(1/11)*cos(11*w*t)-(1/13)*cos(13*w*t));
plot(t,f)
grid
( 4A ) ( 1n )sin ( n2 ) cos nt
f (t) =
plot(t,f)
xlabel('t(seg)')
ylabel('AMPLITUD')
title('FUNCION PAR ONDA CUADRADA')
grid
f (t )=
A
1
sin ( n 0 t ) . si f (t ) = At en ( 0,1 ) .
2
n
()
3
2.5
2
AMPLITUD
1.5
1
0.5
0
-0.5
-1
-1
-0.8
-0.6
-0.4
-0.2
0
t(seg)
0.2
0.4
0.6
0.8
f (t )= A sin ( t )
en el
0.5
0.4
0.3
AMPLITUD
0.2
0.1
0
-0.1
-0.2
-0.3
-0.4
-0.5
-1
-0.8
-0.6
-0.4
-0.2
0
t(seg)
0.2
0.4
0.6
0.8
f ( t ) =
4A
cos ( nt ) ; n=impar de la onda triangular
n 2
(( ) )
1
0.8
0.6
AMPLITUD
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
-1
-0.8
-0.6
-0.4
-0.2
0
t(seg)
0.2
0.4
0.6
0.8
f (t )= A . e2 t
en t [0,1].
FUNCION EXPONENCIAL
AMPLITUD
-2
-4
-1
-0.8
-0.6
-0.4
-0.2
0
t(seg)
0.2
0.4
0.6
0.8
OBJETIVO:
PROCEDIMIENTO:
1. Desarrolle la transformada de Fourier usando Matlab cuya
expresin es:
N=128;
t=linspace(0,3,N);
F=fft(f);
f=2*exp(-20*t);
Fp=F(1:N/2+1)*Ts;
figure(1)
W=Ws*(0:N/2)/N;
plot(t,f)
figure(2)
xlabel('Time,seg'),ylabel('f(t)')
,grid
plot(W,abs(Fp),'+')
xlabel('frequency,Rad/s'),ylab
el('|F(W)|')
X (k)= X (n ) e j
( 24 ) nk Donde k =0,1,2,3,
plot(m,Xmag),axis([0 5 0 23]);
figure(2)
Stem(m,Xmag)
figure(3)
Stem(m,Xphase)
t=0:0.001:0.6;
x=sin(2*pi*50*t)-sin(2*pi*120*t);
y=x+2*randn(size(t));
figure(4)
plot(y(1:50))
Y=fft(y,512);
Pyy=Y.*conj(Y)/512;
f=1000*(0:255)/512;
figure(5)
plot(f,Pyy(1:256))
Fs=100;
t=(1:100)/Fs;
s1=5*sin(2*pi*t*5);s2=10*sin(2*pi*t*15);s3=7*sin(2*pi*t*30)
s=s1+s2+s3;
figure(1)
plot(t,s);
S=fft(s,512);
w=(0:255)/256*(Fs/2);
figure(2)
plot(w,abs([S(1:256)]));
0.5
0.4
0.3
0.2
0.1
0
-0.1
-0.2
-20
-15
-10
-5
10
10
15
20
25
30
15
20
0.12
0.1
0.08
0.06
0.04
0.02
35
40
2. Si
jt
jt
F(t) =(e + e
Fourier.
1
0.8
0.6
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
-2
-1.5
-1
-0.5
0.5
100
120
1.5
2.5
1.5
0.5
20
40
60
80
140
160
180
200
3. Dado
F(t) =A sin t
Fourier.
20
15
10
5
0
-5
-10
-15
-20
0.5
1.5
2.5
25
20
15
10
50
100
150
200
250
300
12
10
0.5
1.5
2.5