Está en la página 1de 10

EJERCICIO 1 OPERACIONES BÁSICAS EN SEÑALES CONTINUAS

2.1. Ejercicio 1- operaciones básicas en señales continuas (Desplazamiento, reflexión


y amplificación): estudiando en el libro de (Ambardar), para la señal x(t) de la figura 1,
obtenga las siguientes señales de forma gráfica (teórica), y posteriormente verifique
sus respuestas diseñando un script en Matlab, Octave o Scilab y anexando el
resultado junto con el script (práctica):

a. p ( t ) =−x ( t )
b. y ( t ) =2 x ( 21t )
c. w ( t )=x (−t−21 )
d. w ( t )= x
1
19 19( t
+ 0.5 )
Nombre del estudiante: Jimy Alejandro Tobar Chilito
Código universitario: 10161738998
Constante a: 19
Constante b: 21

Solución parte teórica:

Señal original:

a)

Señal con reflexión eje de amplitud:


b)

Señal con compresión eje temporal

Señal con compresión eje temporal y escalada en eje de amplitud:


c)

Señal con desplazamiento en eje temporal

Señal con desplazamiento y reflexión en eje temporal


d)
Señal con desplazamiento en eje temporal

Señal con desplazamiento y escalamiento en eje temporal


Señal con desplazamiento y escalamiento en eje temporal; y escalamiento eje de
amplitud

Solución práctica:
Código: Imágenes resultantes de la simulación:

a)
% Nombre: Jimy Alejandro Tobar
% Código: 1061738998
% Curso: Señales y sistemas
% Fecha: 07/10/2020
% Ejercicio 1-a

clc
clear all
close all

% Señal 1
t=(-4:0.01:3);
w1=2;
x1= rectpuls(t+2,w1);

% Señal 2
w2=2;
x2= -tripuls(t,w2);

% Señal 3
w3=1;
x3= 2*tripuls(t-1.5,w3);

%Señal total
xtot= x1+x2+x3;
subplot(2,1,1)
% figure;
plot(t,xtot)
grid on
title('Señal Original -
Alejandro Tobar')
xlabel('Tiempo')
ylabel('Amplitud')

% Item a: p(t)=-x(t)

% Paso 1: Reflexión en el eje


de Amplitud
p=-xtot;
subplot(2,1,2)
plot(t,p,'r')
grid on
title('Señal reflejada en eje
de amplitud - Alejandro
Tobar')
xlabel('Tiempo')
ylabel('Amplitud')
b)
% Nombre: Jimy Alejandro Tobar
% Codigo: 1061738998
% Curso: Señales y sistemas
% Fecha: 07/10/2020
% Ejercicio 1-b

clc
clear all
close all

% Señal 1
t=(-4:0.01:3);
w1=2;
x1= rectpuls(t+2,w1);

% Señal 2
w2=2;
x2= -tripuls(t,w2);

% Señal 3
w3=1;
x3= 2*tripuls(t-1.5,w3);

%Señal total
xtot= x1+x2+x3;
subplot(3,1,1)
% figure;
plot(t,xtot)
title('Señal Original -
Alejandro Tobar')
xlabel('Tiempo')
ylabel('Amplitud')
grid on
% Item b: y(t)=2x(21t)

% Paso 1: Escalamiento en el
eje temporal
t2=t./21;
subplot(3,1,2)
plot(t2,xtot,'r')
title('Señal comprimida -
Alejandro Tobar')
xlabel('Tiempo')
ylabel('Amplitud')
grid on
% Paso 2: Escalamiento eje de
amplitud
xtot2=xtot.*2;
% figure;
subplot(3,1,3)
plot(t2,xtot2,'g')
title('Señal con amplificación
en eje de amplitud - Alejandro
Tobar')
xlabel('Tiempo')
ylabel('Amplitud')
grid on
c)
% Nombre: Jimy Alejandro Tobar
% Codigo: 1061738998
% Curso: Señales y sistemas
% Fecha: 07/10/2020
% Ejercicio 1-c

clc
clear all
close all

% Señal 1
t=(-4:0.01:3);
w1=2;
x1= rectpuls(t+2,w1);

% Señal 2
w2=2;
x2= -tripuls(t,w2);

% Señal 3
w3=1;
x3= 2*tripuls(t-1.5,w3);

%Señal total
xtot= x1+x2+x3;
subplot(3,1,1)
% figure;
plot(t,xtot)
title('Señal Original -
Alejandro Tobar')
xlabel('Tiempo')
ylabel('Amplitud')
grid on
% Item c: w(t)=x(-t-21)

% Paso 1 - Desplazamiento eje


temporal
t2=(t+21);
subplot(3,1,2)
plot(t2,xtot,'r')
title('Señal desplazada -
Alejandro Tobar')
xlabel('Tiempo')
ylabel('Amplitud')
grid on
% Segundo paso: reflexión en
el eje temporal
t3=-t2;
% figure;
subplot(3,1,3)
plot(t3,xtot,'g')
title('Señal reflejada -
Alejandro Tobar')
xlabel('Tiempo')
ylabel('Amplitud')
grid on
d)
% Nombre: Jimy Alejandro Tobar
% Codigo: 1061738998
% Curso: Señales y sistemas
% Fecha: 07/10/2020
% Ejercicio 1-d

clc
clear all
close all

% Señal 1
t=(-4:0.01:3);
w1=2;
x1= rectpuls(t+2,w1);

% Señal 2
w2=2;
x2= -tripuls(t,w2);

% Señal 3
w3=1;
x3= 2*tripuls(t-1.5,w3);

%Señal total
xtot= x1+x2+x3;
subplot(4,1,1)
% figure;
plot(t,xtot)
title('Señal Original -
Alejandro Tobar')
xlabel('Tiempo')
ylabel('Amplitud')
grid on
% Item d:
z(t)=(x/19)((t/19)+0.5)

% Paso 1 - Desplazamiento eje


temporal
t2=(t-0.5);
subplot(4,1,2)
plot(t2,xtot,'r')
title('Señal desplazada -
Alejandro Tobar')
xlabel('Tiempo')
ylabel('Amplitud')
grid on
% Paso 2 - Escalamiento eje
temporal
t3=t2.*19;
subplot(4,1,3)
plot(t3,xtot,'g')
title('Señal expandida -
Alejandro Tobar')
xlabel('Tiempo')
ylabel('Amplitud')
grid on
% Paso 3: Escalamiento eje de
amplitud
xtot2=xtot./19;
% figure;
subplot(4,1,4)
plot(t3,xtot2,'y')
title('Señal con escalamiento
en eje de amplitud - Alejandro
Tobar')
xlabel('Tiempo')
ylabel('Amplitud')
grid on

También podría gustarte