Documentos de Académico
Documentos de Profesional
Documentos de Cultura
LABORATORIO N°1
PROFESOR
INTEGRANTES DE GRUPO
COTAQUISPE PAICO ANGEL H. U17104860
TENORIO JULCA JHONY 1626848
YOJAR APAZA CHULLUNQUIA U17300711
VIDAL VALVERDE KEVIN MICHAEL U17209256
2021
1. Impulso continuo y discretos
a. Escalamiento:
[ ( )] ( )
| |
b. Producto
( ) ( ) ( ) ( )
( ) ( ) ( ) ( )
c. Filtrado
∫ ( ) ( ) ( )
a. ∫ ( ) ( )⁄ ( ) ( )
b. ∫ ( ) ( )
∫ ( ) (( )( ))
∫ ( ) ( ))
∫ ( ) ( ))
c. ∫ ( ) (( ) )
∫ ( ) ( )
∫ ( ) ( )
( ) ( )
( ) ( )
2.1 ( ) ( )
a) Programa:
t = -50:0.01:50;
x = -2*sin(-0.2*t +
5/3*pi);
plot(t,x,'m'),grid on
b) Gráfico:
2.2 ( ) ( )
a) Programa:
t = -50:0.01:50;
x = -2*sin(-0.2*t + 5/3*pi);
plot(t,x,'m'),grid on
b) Gráfico:
2.3 ( ) [ ( )]
a) Programa:
t = -5:0.1:5;
x = 0.5*((cos(2*t - pi/4)).^2);
plot(t,x,'m'),grid on
b) Gráfico:
2.4 ( ) [ ( )]
a) Programa:
t = -5:0.01:5;
x = 0.5*cos(2*t.^2 - pi/4);
plot(t,x,'m'),grid on
b) Gráfico:
( )
2.5 ( )
a) Programa:
t=[-10:0.01:10];
x=exp(j*((pi/2)*t)-pi);
plot3(real(x),imag(x),t,'m'), grid on
b) Gráfico :
( )
2.6 ( )
a) Programa:
n=[-40:1:40];
x=exp(j*((n/2)-pi));
stem3(real(x),imag(x),n,'m'), grid on
b) Gráfico
a) Programa:
t = -10:0.01:10;
x = 2*cos(2*pi*t) + sin(10*t);plot(t,x,'r'),grid on
b) Grafica;
2.8 𝗑( ) = 2𝑐𝑜𝑠(4𝜋 )𝑠i𝑛(12𝜋 )
a) Programa:
t = -1:0.01:1;
x = 2*cos(4*pi*t).*sin(12*pi*t);plot(t,x,'r'),grid
on
b) grafica
9. 𝗑 (𝑛) = 𝑐𝑜𝑠(2𝜋𝑛2)
a) Programa:
n = [-4:1:4];
x = cos(2*pi*n.^2);
stem(n,x,’r’),grid on
b) Grafica
3. Manejo de señales VIC Y VID:
3.1
Edit:
function h=tri1(t)
h = (t+1). *(t >= -1 & t < 1) + (-t+3). *(t >= 1 & t < 3);
Command Window:
t= [-8:.001:8];
h=tri1(t+1);
plot (t, h,'r'), grid
on
3.2
Edit:
function h=tri1(t)
h = (t+1). *(t >= -1 & t < 1) + (-t+3). *(t >= 1 & t < 3);
Command Window:
t= [-8:.001:8];
h=tri1(2*t-3);
plot (t, h,'r‟), grid on
Gráfica:
3.3
Edit:
function h=tri1(t)
h = (t+1). *(t >= -1 & t < 1) + (-t+3). *(t >= 1 & t < 3);
Command Window:
t= [-14:.001:14];
h=tri1((0.5). *(t+10));
plot (t, h,'r‟), grid on
Gráfica:
3.4
Edit:
function h=tri1(t)
h = (t+1). *(t >= -1 & t < 1) + (-t+3). *(t >= 1 & t < 3);
----------------------------------------------------------------------------------------------------------------
function R=escalon(t)
R=1*(t>=0);
----------------------------------------------------------------------------------------------------------------
Command Window:
t= [-12:.001:12];
h=tri1(t/2). *(escalon(t+2)-escalon(t-
plot (t, h,'r’), grid on
3.5
Edit:
function h=tri1(t)
h = (t+1). *(t >= -1 & t < 1) + (-t+3). *(t >= 1 & t < 3);
Command Window:
t= [-8:.001:8];
h=tri1(t.^2);
plot (t, h,'r‟), grid on
Gráfica:
h(t
)
t
3.6
Edit:
function h=tri1(t)
h = (t+1). *(t >= -1 & t < 1) + (-t+3). *(t >= 1 & t < 3);
Command Window:
t= [-8:.001:8];
h=tri1(1. /t);
plot (t, h,'r‟), grid on
Gráfica:
h(t)
3.7
Edit:
Command Window:
t= [-3:1:10];
x=delta(n-1);
stem (t, h,’r’), grid on
h(t)
3.8
Edit:
function h=delta(n)
h = 1*(n==0) +1*(n==1) +1*(n==2) + 1*(n==3) + 1*(n==4) + 1*(n==5);
Command Window:
t= [-3:1:10];
x=delta(2*n);
stem (t, h,’r’), grid on
Gráfica:
h(t)
t
3.9
Edit:
function h=delta(n)
h = 1*(n==0) +1*(n==1) +1*(n==2) + 1*(n==3) + 1*(n==4) + 1*(n==5);
Command Window:
t= [-3:1:10];
x=delta(n.^2);
stem (t, h,’r’), grid on
h(t
)
3.10
Edit:
function h=delta(n)
h = 1*(n==0) +1*(n==1) +1*(n==2) + 1*(n==3) + 1*(n==4) + 1*(n==5);
Command Window:
t= [-3:1:10];
x=0.5*(delta(n)+((-1). ^n). *
delta(n)); stem (t, h,’r’), grid
on
Gráfica:
h(t)
t
3.11
Edit:
function h=tri1(t)
h = (t+1). *(t >= -1 & t < 1) + (-t+3). *(t >= 1 & t < 3);
Command Window:
t= [-8:.001:8];
h=(tri1(t)- tri1(-
t))/2;
plot (t, h,'r'), grid on
Gráfica:
h(t
)
t
3.12
Edit:
function h=delta(n)
h = 1*(n==0) +1*(n==1) +1*(n==2) + 1*(n==3) + 1*(n==4) + 1*(n==5);
Command Window:
n= [-4:1:10];
x=(delta(n)+ delta(-
n)) /2;
stem (t, h,’r‟), grid on
Gráfica:
h(t)
t
4.- GENERE LA FUNCION h(t)
Edit:
function h=tri1(t)
h=(t+1). *(t>=-1&t<1) +(-t+3). *(t>=1&t<3);
Command Window:
t= [-2:0.001:8];
h=tri1(2*t-3);
plot (t, h)
Gráfica:
Edit:
function h=tri1(t)
h=(t+1). *(t>=-1&t<1) +(-t+3). *(t>=1&t<3);
Command Window:
t= [-2:0.001:8];
h=tri1(2*t-3);
plot (t, h)
stem (t, h);
Gráfica:
5. Energía, Potencia y Valor Medio:
I.
II.
III.
IV.
V.
„x‟ e „y‟
figure;plot(r2);axis([0,1000,-4,4])figure; hist(r1,10)
figure; hist(r2,10)
figure;plot(r2);axis([0,1000,-4,4])figure; hist(r1,10)
figure; hist(r2,10)
*Método 1:
%Voz de hombre
figure(1)
plot(t,A) grid
on
S=fft(A,1024);
f=(0:511)/512*(Fs/2);
Y=abs(S(1:512));
figure(2)
plot(f,Y) grid
on
B=find(Y==max(Y))
frec=f(B)
str=num2str(frec)
h=legend('frecmax=',str,1');
%Voz de Mujer