Académique Documents
Professionnel Documents
Culture Documents
299007_47
Trabajo colaborativo 2
MARCOS GONZALEZ
TUTOR
21 de noviembre de 2012.
INTRODUCCION
Con la seal dada por x(t) = Sen(8..t), desarrolle los siguientes puntos:
1) Grafique la seal continua en el intervalo desde t = [0, 1] segundo.
T=0.05;
t=0:T:1;
x=sin(8*pi*t);
plot(t,x);
axis([0 1 -1 1]);
xlabel('TIEMPO')
ylabel('AMPLITUD')
titte('X(t)=Sen(8*pi*t)')
grid
t=0:0.05:1;
x=sin(8*pi*t);
t1=0:0.2:1;
x1=sin(8*pi*t1);
plot(t,x,'r-.',t1,x1,'b-d');
axis([0 1 -1 1]);
xlabel('TIEMPO')
ylabel('AMPLITUD')
titte('X(t)=Sen(8*pi*t)')
grid
t=0:0.05:1;
x=sin(8*pi*t);
t1=0:0.1:1;
x1=sin(8*pi*t1);
plot(t,x,'r-.',t1,x1,'b-d');
axis([0 1 -1 1]);
xlabel('TIEMPO')
ylabel('AMPLITUD')
titte('X(t)=Sen(8*pi*t)')
grid
t=0:0.05:1;
x=sin(8*pi*t);
t1=0:0.05:1;
x1=sin(8*pi*t1);
plot(t,x,'r-.',t1,x1,'b-d');
axis([0 1 -1 1]);
xlabel('TIEMPO')
ylabel('AMPLITUD')
titte('X(t)=Sen(8*pi*t)')
grid
PROCEDIMIENTO.
Calculamos a0
f ( t ) dt=
2
4
) (| | )
1+dt+ 1 dt =
2
1
1
t 0 t 0 = ( 22 ) =0
2 2
2 2
a0 =
T 0
Calculamos an :
2
2
2 nt
an = f (t) cos
dt
T t
T
an =
2
2
f ( t ) dt= 4
T 0
1
an = =
2
an =
([
2 sin
( (
2
( nt2 )
1cos
]| [
0 +
2
nt
2
2 sin
1 2sin n 2sin n
+
=0
2
n
n
))
( nt2 )
dt+ 1cos
]| )
2
0
( nt2 )) dt
Calculamos bn :
t
( ))
2
2 nt
bn = f ( t )sin
dt
T 0
T
1
2
((
bn =
1
2
([
bn =
1 2 cos n 2 2 cos n 2
+
2
n
n
n
n
bn =
2 cos n 2
n
n
bn =
1sin
2cos
( ))
nt
nt
dt+ 1sin
dt
2
2
0
( )
( nt2 )
]| [
0 +
2
2 cos
( nt2 )
))
]| )
2
0
2 (1 )
2 2 ( (1 ) 1 )
bn =
=
n
n
n
n
n=1
( )]
2 ( (1 ) 1 )
nt
sin
n
2
grid
8) Grafique la suma de los primeros cinco (5) armnicos de la seal y(t), entre t = -4
a t = 4.
Seal en tiempo continuo y(t)
2
1.5
Amplitud
1
0.5
0
-0.5
-1
-4
-3
-2
-1
0
Tiempo (s)
1
0.5
0
-0.5
-1
-4
-3
-2
-1
0
Tiempo (s)
>>t=-4:0.001:4;
>>y=t.*(Heaviside (t)-heaviside (t-2)) + (t+4).*(heaviside (t+4) heaviside (t+2));
>>subplot (2, 1,1)
Plot (t, Y); grid
>>xlabel ('Tiempo (s)'); xlabel ('Amplitud');
>>title ('Seal en tiempo continuo y (t)');
>>Axis ([-4 4 -1 2.2])
>>subplot (2, 1, 2);
>>f2=0;
>>For n=1:1:5
f1= (2/((n*pi) ^2))*(cos(n*pi)-1)*cos(n*t.*pi/2)-(2/
(n*pi))*cos(n*pi)*sin(n*t.*pi/2);
f2=f1+f2;
end
>>f= (1/2) +f2;
>>plot (t, Y); grid
>>xlabel ('Tiempo (s)'); xlabel ('Amplitud');
>>title ('SUMA DE LOS CINCO ARMNICO DE LA SERIE DE FOURIER');
>>axis ([-4 4 -1 2.2])
9) Grafique la suma de los primer diez (10) armnicos de la seal y(t), entre t = -4 a
t = 4.
Seal en tiempo continuo y(t)
2
1.5
Amplitud
1
0.5
0
-0.5
-1
-4
-3
-2
-1
0
Tiempo (s)
1
0.5
0
-0.5
-1
-4
-3
-2
-1
0
Tiempo (s)
>>t=-4:0.001:4;
>>y=t.*(heaviside(t)-heaviside(t-2))+(t+4).*(heaviside(t+4)heaviside(t+2));
>>subplot (2, 1,1)
OBJETIVOS.