Académique Documents
Professionnel Documents
Culture Documents
Solución
1.-
>> syms t x
1.5
int(dirac(x-3),-2*t,2*t)
1 ans =
0.5
heaviside(t - 3/2)
t=[-2:0.001:8];
-0.5
h=heaviside(t - 3/2);
plot(t,h)
-1 grid on
-2 0 2 4 6 8
2.-
>> syms x t
>> int(heaviside(x/2 -
6).*dirac(x/3 -5),inf,inf)
3.-
>> syms x t
>> int(heaviside(x/2 -
6).*dirac(x/3 -5),inf,inf)
a) -2*sin(-0.2*t + 5/3*pi)
T P 1 - Ej 2 - x a( t )
3
clear all;clc;
2
t = -40:0.01:40;
1 xa = -2*sin(-0.2*t +
5/3*pi);
x a (t )
-1 plot_SR([t(1) t(end) -2
2],'t','$x_a(t)$','TP 1 -
-2
Ej 2 - $x_a(t)$',20,t,xa)
-3
-40 -20 0 20 40
t
b) -2*sin(-0.2*n + 5/3*pi)
T P 1 - Ej 2 - x b[n ]
3
clear all;clc;
2 n = -40:1:40;
xb = -2*sin(-0.2*n +
1 5/3*pi);
x b[n ]
0
stem_SR([n(1) n(end) -2
-1 2],'n','$x_b[n]$','TP 1 -
Ej 2 - $x_b[n]$',20,n,xb)
-2
-3
-40 -20 0 20 40
n
c) 0.5*((cos(2*t - pi/4)).^2
T P 1 - Ej 2 - x c( t )
1
clear all;clc;
t = -40:0.01:40;
xc = 0.5*((cos(2*t -
0.5 pi/4)).^2);
x c( t )
-0.5
-40 -20 0 20 40
t
d) 0.5*cos(2*t.^2 - pi/4)
T P 1 - Ej 2 - x d( t )
1
clear all;clc;
t = -40:0.01:40;
0.5 xd = 0.5*cos(2*t.^2 -
pi/4);
x d (t )
0
plot_SR([-6 6 -1
1],'t','$x_d(t)$','TP 1 -
-0.5 Ej 2 - $x_d(t)$',20,t,xd)
-1
-5 0 5
t
e) exp(1i*(pi/2*t-pi))
figure('units','normalized','outerp
osition',[0 0 1 1])
0 plot3(real(xe),imag(xe),t,'ko');gri
2 d on;hold on; % grafico en 3D
2 set(gca, 'FontSize', 25);
0 0 axis([-2 2 -2 2 0 10]);
I mag f x(t)g -2 -2 Real f x(t)g xlabel('Real
$\{x(t)\}$','Interpreter','Latex');
ylabel('Imag
$\{x(t)\}$','Interpreter','Latex');
zlabel('t','Interpreter','Latex');
plot3(real(xe),zeros(size(t)),t,'Li
neWidth',2); % grafico la
proyección de la parte Re.
plot3(zeros(size(t)),imag(xe),t,'Li
neWidth',2); % grafico la
proyección de la parte Re.
legend('x(t)','real(x(t))','imag(x(
t))');
f) exp(1i*(n/2-pi))
clear all;clc;
n = -40:1:40;
xf = exp(1i*(n/2-pi));
figure('units','normalized','outerp
osition',[0 0 1 1])
plot3(real(xf),imag(xf),n,'Marker',
'o','LineWidth',2,'LineStyle','none
'); % grafico en 3D
set(gca, 'FontSize', 25);
grid on;hold on;
axis([-2 2 -2 2 -10 10]);
x[n]
real(x[n])
10 imag(x[n])
0
n
-5
-10
2
2
0 1
0
-1
-2 -2
imag f x[n]g real f x[n]g
g) 2*cos(2*pi*t) + sin(10*t)
T P 1 - Ej 2 - x g( t )
3
2
clear all;clc;
t = -40:0.01:40;
1
xg = 2*cos(2*pi*t) +
sin(10*t);
x g( t )
-1
plot_SR([-10 10 -3
-2 3],'t','$x_g(t)$','TP 1 - Ej
-3
2 - $x_g(t)$',20,t,xg)
-10 -8 -6 -4 -2 0 2 4 6 8 10
t
h) 2*cos(4*pi*t).*sin(12*pi*t)
T P 1 - Ej 2 - x h ( t )
3
clear all;clc;
2
t = -40:0.01:40;
1 xh =
2*cos(4*pi*t).*sin(12*pi*t);
x h (t )
-1 plot_SR([-2 2 -3
3],'t','$x_h(t)$','TP 1 - Ej
-2
2 - $x_h(t)$',20,t,xh)
-3
-2 -1.5 -1 -0.5 0 0.5 1 1.5 2
t
i) cos(2*pi*n.^2)
T P 1 - Ej 2 - x i [n ]
1.5
clear all;clc;
1 n = -40:1:40;
xi = cos(2*pi*n.^2);
x i [n ]
0.5
stem_SR([-5 5 -0.5
1.5],'n','$x_i[n]$','T
0
-0.5
-6 -4 -2 0 2 4 6
n
a)
t=[-2:.001:8];
2 señal a del ejercicio 3 de la practica 1
h=tri1(t+1);
1.5
plot(t,h);
grid on
1
xlabel 't'
muestra
0.5
ylabel 'muestra'
legend 'señal a del
0
ejercicio 3 de la practica
1'
-0.5
-1
-3 -2 -1 0 1 2 3
t
b)
ejercicio 3
4
t=[-2:.001:8];
3
h=tri1(2*t-3);
plot(t,h);
2
grid on
xlabel 't'
muestra
1
ylabel 'muestra'
legend 'señal del ejercicio
0
3 de la practica 1'
-1
-2
0 0.5 1 1.5 2 2.5 3 3.5 4
t
c)
1
señal c del ejercicio 3 de la practica 1
0.8
0.6
t=[-2:.001:8];
0.4 h=tri1(2*(-1/2 *(t+10)));
plot(t,h);
0.2
grid on
muestra
0 xlabel 't'
ylabel 'muestra'
-0.2 legend 'señal c del
-0.4 ejercicio 3 de la practica
1'
-0.6
-0.8
-1
-2 -1 0 1 2 3 4 5 6 7 8
t
d)
3
t=[-2:.001:8];
2.5
h=tri1(t/2).*(u(t+2)- u(t-
2
2));
1.5
plot(t,h);
grid on
muestra
1
xlabel 't'
0.5
señal c del ejercicio 3 de la practica 1
ylabel 'muestra'
0
legend 'señal d del
ejercicio 3 de la practica
-0.5
1'
-1
-2 0 2 4 6 8 10
t
e)
3
señal del ejercicio e del ejercicio 3
2.5
t=[-2:.001:8];
2 h=tri1(t.*t);
plot(t,h);
1.5
grid on
xlabel 't'
muestra
1
ylabel 'muestra'
0.5 legend 'señal del ejercicio
e del ejercicio 3'
0
-0.5
-1
-2 0 2 4 6 8
t
f)
3
señal del ejercicio f del ejercicio 3
2.5 t=[-2:.001:8];
2
h=tri1(1./t);
plot(t,h);
1.5 grid on
xlabel 't'
muestra
1
ylabel 'muestra'
0.5
legend 'señal del ejercicio
0
f del ejercicio 3'
-0.5
-1
-2 0 2 4 6 8
t
g)
2
señal g del ejercicio 3 de la practica 1
1.5
t=[-2:.001:8];
h=tri1(1./t);
plot(t,h);
1
grid on
xlabel 't'
muestra
0.5
ylabel 'muestra'
legend 'señal del ejercicio
0
f del ejercicio 3'
-0.5
-1
-6 -4 -2 0 2 4 6
t