Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Ilovepdf Merged 5
Ilovepdf Merged 5
clc
%Limpiar comandos
clear all
%Limpiando las variables
close all
nombre = 'Quispe Mercado Luis Angel'
auxiliar = 'Est. Limachi Calani Sergio Gerardo'
carrera = 'INGENIERIA MECATRONICA'
universidad = 'UMSA - Facultad de Ingenieria'
materia = 'AUX. Controles Automaticos MEC 430'
gestion = ' I / 2021'
nombre =
auxiliar =
carrera =
'INGENIERIA MECATRONICA'
universidad =
materia =
gestion =
' I / 2021'
1
clc % Limpiamos los comandos
clear all % Limpiamos las variables
close all % Cerramos procesos previos
syms t s % Declaramos variables simbólicas
f = (1) % Definimos la ecuacion para LaPlace
trans_lapl = laplace(f,t,s) % Determinamos la Transformada de f
f =
trans_lapl =
1/s
1
clc % Limpiamos los comandos
clear all % Limpiamos las variables
close all % Cerramos procesos previos
syms f t a s% Declaramos variables simbólicas
f = exp(a*t) % Definimos la ecuacion para LaPlace
trans_lapl = laplace(f) % Determinamos la Transformada de f
f =
exp(a*t)
trans_lapl =
-1/(a - s)
1
clc % Limpiamos los comandos
clear all % Limpiamos las variables
close all % Cerramos procesos previos
syms f t a s% Declaramos variables simbólicas
f = cos(a*t) % Definimos la ecuacion para LaPlace
trans_lapl = laplace(f) % Determinamos la Transformada de f
f =
cos(a*t)
trans_lapl =
s/(a^2 + s^2)
1
clc % Limpiamos los comandos
clear all % Limpiamos las variables
close all % Cerramos procesos previos
syms f t a s% Declaramos variables simbólicas
assume(a > 0); % Damos un valor asumido para la respuesta
f = heaviside(t-a) % Definimos la ecuacion para LaPlace
trans_lapl = laplace(f) % Determinamos la Transformada de f
f =
heaviside(t - a)
trans_lapl =
exp(-a*s)/s
1
clc % Limpiamos los comandos
clear all % Limpiamos las variables
close all % Cerramos procesos previos
syms f t a s% Declaramos variables simbólicas
f = (t^2) % Definimos la ecuacion para LaPlace
trans_lapl = laplace(f) % Determinamos la Transformada de f
f =
t^2
trans_lapl =
2/s^3
1
clc % Limpiamos los comandos
clear all % Limpiamos las variables
close all % Cerramos procesos previos
syms f t a s% Declaramos variables simbólicas
f = sin(a*t) % Definimos la ecuacion para LaPlace
trans_lapl = laplace(f) % Determinamos la Transformada de f
f =
sin(a*t)
trans_lapl =
a/(a^2 + s^2)
1
clc % Limpiamos los comandos
clear all % Limpiamos las variables
close all % Cerramos procesos previos
syms y f t s% Declaramos variables simbólicas
t = 0:0.05:10
y = (t-1).*heaviside(t-1) - (t-1).*heaviside(t-3) % Definimos la
ecuacion para LaPlace
plot(t,y) %Graficamos la funcion
%f = (t-1).*(heaviside(t-1) - heaviside(t-3));
%trans_lapl = laplace(f) % Determinamos la Transformada de f
t =
Columns 1 through 7
Columns 8 through 14
Columns 15 through 21
Columns 22 through 28
Columns 29 through 35
Columns 36 through 42
Columns 43 through 49
Columns 50 through 56
Columns 57 through 63
Columns 64 through 70
1
3.1500 3.2000 3.2500 3.3000 3.3500 3.4000 3.4500
Columns 71 through 77
Columns 78 through 84
Columns 85 through 91
Columns 92 through 98
2
Columns 162 through 168
y =
Columns 1 through 7
0 0 0 0 0 0 0
Columns 8 through 14
0 0 0 0 0 0 0
Columns 15 through 21
0 0 0 0 0 0 0
Columns 22 through 28
Columns 29 through 35
Columns 36 through 42
Columns 43 through 49
3
Columns 50 through 56
Columns 57 through 63
Columns 64 through 70
0 0 0 0 0 0 0
Columns 71 through 77
0 0 0 0 0 0 0
Columns 78 through 84
0 0 0 0 0 0 0
Columns 85 through 91
0 0 0 0 0 0 0
Columns 92 through 98
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
4
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0
5
Published with MATLAB® R2020a
6
clc % Limpiamos los comandos
clear all % Limpiamos las variables
close all % Cerramos procesos previos
syms y f t s% Declaramos variables simbólicas
%t = 0:0.05:10
%y = (t-1).*heaviside(t-1) - (t-1).*heaviside(t-3) % Definimos la
ecuacion para LaPlace
%plot(t,y) %Graficamos la funcion
f = (t-1).*(heaviside(t-1) - heaviside(t-3));
trans_lapl = laplace(f) % Determinamos la Transformada de f
trans_lapl =
1
clc % Limpiamos los comandos
clear all % Limpiamos las variables
close all % Cerramos procesos previos
syms f t s% Declaramos variables simbólicas
%t = 0:0.05:10
%f = cos(2*t); % Definimos la ecuacion funcion t
%Ahora el arreglo para el dominio T
%plot(t,f) %Graficamos la funcion
%axis([0 10 -1.5 1.5])
f1 = cos(2*t)
trans_lapl = laplace(f1) % Determinamos la Transformada de f
% Ahora el arreglo para el dominio S
num = [1 0] % Numerador
dem = [1 0 4] % Denominador
printsys(num,dem)
pzmap(num,dem) % Mostramos la grafica
estabilidad = 'El sistema es INESTABLE'
f1 =
cos(2*t)
trans_lapl =
s/(s^2 + 4)
num =
1 0
dem =
1 0 4
num/den =
s
-------
s^2 + 4
estabilidad =
1
Published with MATLAB® R2020a
2
clc % Limpiamos los comandos
clear all % Limpiamos las variables
close all % Cerramos procesos previos
syms f t s% Declaramos variables simbólicas
t = 0:0.05:10
f = cos(2*t); % Definimos la ecuacion funcion t
%Ahora el arreglo para el dominio T
plot(t,f) %Graficamos la funcion
axis([0 10 -1.5 1.5])
%f1 = cos(2*t)
%trans_lapl = laplace(f1) % Determinamos la Transformada de f
% Ahora el arreglo para el dominio S
%num = [1 0] % Numerador
%dem = [1 0 4] % Denominador
%printsys(num,dem)
%pzmap(num,dem) % Mostramos la grafica
%estabilidad = 'El sistema es ESTABLE'
t =
Columns 1 through 7
Columns 8 through 14
Columns 15 through 21
Columns 22 through 28
Columns 29 through 35
Columns 36 through 42
Columns 43 through 49
Columns 50 through 56
1
Columns 57 through 63
Columns 64 through 70
Columns 71 through 77
Columns 78 through 84
Columns 85 through 91
Columns 92 through 98
2
7.3500 7.4000 7.4500 7.5000 7.5500 7.6000 7.6500
3
Published with MATLAB® R2020a
4
clc % Limpiamos los comandos
clear all % Limpiamos las variables
close all % Cerramos procesos previos
syms f t s% Declaramos variables simbólicas
%t = 0:0.05:10
%f = cos(2*t).*exp(2*t); % Definimos la ecuacion funcion t
%Ahora el arreglo para el dominio T
%plot(t,f) %Graficamos la funcion
f1 = cos(2*t).*exp(2*t)
trans_lapl = laplace(f1) % Determinamos la Transformada de f
% Ahora el arreglo para el dominio S
num = [1 -2] % Numerador
dem = [1 4 8] % Denominador
printsys(num,dem)
pzmap(num,dem) % Mostramos la grafica
axis([-2.5 3 -3 3])
estabilidad = 'El sistema es INESTABLE'
f1 =
cos(2*t)*exp(2*t)
trans_lapl =
(s - 2)/((s - 2)^2 + 4)
num =
1 -2
dem =
1 4 8
num/den =
s - 2
-------------
s^2 + 4 s + 8
estabilidad =
1
Published with MATLAB® R2020a
2
clc % Limpiamos los comandos
clear all % Limpiamos las variables
close all % Cerramos procesos previos
syms f t s% Declaramos variables simbólicas
t = 0:0.05:10
f = cos(2*t).*exp(2*t); % Definimos la ecuacion funcion t
%Ahora el arreglo para el dominio T
plot(t,f) %Graficamos la funcion
%f1 = cos(2*t)
%trans_lapl = laplace(f1) % Determinamos la Transformada de f
% Ahora el arreglo para el dominio S
%num = [1 0] % Numerador
%dem = [1 0 4] % Denominador
%printsys(num,dem)
%pzmap(num,dem) % Mostramos la grafica
%estabilidad = 'El sistema es ESTABLE'
t =
Columns 1 through 7
Columns 8 through 14
Columns 15 through 21
Columns 22 through 28
Columns 29 through 35
Columns 36 through 42
Columns 43 through 49
Columns 50 through 56
1
Columns 57 through 63
Columns 64 through 70
Columns 71 through 77
Columns 78 through 84
Columns 85 through 91
Columns 92 through 98
2
7.3500 7.4000 7.4500 7.5000 7.5500 7.6000 7.6500
3
Published with MATLAB® R2020a
4
clc % Limpiamos los comandos
clear all % Limpiamos las variables
close all % Cerramos procesos previos
syms f t s% Declaramos variables simbólicas
%t = 0:0.05:10
%f = cos(2*t).*exp(2*t); % Definimos la ecuacion funcion t
%Ahora el arreglo para el dominio T
%plot(t,f) %Graficamos la funcion
f1 = sin(t-2*pi)
trans_lapl = laplace(f1) % Determinamos la Transformada de f
% Ahora el arreglo para el dominio S
num = [1] % Numerador
dem = [1 0 1] % Denominador
printsys(num,dem)
pzmap(num,dem) % Mostramos la grafica
axis([-1 1 -1.5 1.5])
estabilidad = 'El sistema es ESTABLE'
f1 =
sin(t)
trans_lapl =
1/(s^2 + 1)
num =
dem =
1 0 1
num/den =
1
-------
s^2 + 1
estabilidad =
1
Published with MATLAB® R2020a
2
clc % Limpiamos los comandos
clear all % Limpiamos las variables
close all % Cerramos procesos previos
syms f t s% Declaramos variables simbólicas
t = 0:0.05:10
f = sin(t-2*pi) % Definimos la ecuacion funcion t
%Ahora el arreglo para el dominio T
plot(t,f) %Graficamos la funcion
axis([0 10 -1.5 1.5])
%f1 = sin(t-2*pi)
%trans_lapl = laplace(f1) % Determinamos la Transformada de f
% Ahora el arreglo para el dominio S
%num = [1] % Numerador
%dem = [1 0 1] % Denominador
%printsys(num,dem)
%pzmap(num,dem) % Mostramos la grafica
%axis([-1 1 -1.5 1.5])
%estabilidad = 'El sistema es ESTABLE'
t =
Columns 1 through 7
Columns 8 through 14
Columns 15 through 21
Columns 22 through 28
Columns 29 through 35
Columns 36 through 42
Columns 43 through 49
Columns 50 through 56
1
Columns 57 through 63
Columns 64 through 70
Columns 71 through 77
Columns 78 through 84
Columns 85 through 91
Columns 92 through 98
2
7.3500 7.4000 7.4500 7.5000 7.5500 7.6000 7.6500
f =
Columns 1 through 7
Columns 8 through 14
Columns 15 through 21
Columns 22 through 28
Columns 29 through 35
3
Columns 36 through 42
Columns 43 through 49
Columns 50 through 56
Columns 57 through 63
Columns 64 through 70
Columns 71 through 77
Columns 78 through 84
Columns 85 through 91
Columns 92 through 98
4
0.0168 0.0668 0.1165 0.1660 0.2151 0.2637 0.3115
5
Published with MATLAB® R2020a
6
clc % Limpiamos los comandos
clear all % Limpiamos las variables
close all % Cerramos procesos previos
syms f t a s% Declaramos variables simbólicas
%t= 0:0.05:10
%f = sin(t-2*pi).*heaviside(t-2*pi) % Definimos la ecuacion funcion t
%Ahora el arreglo para el dominio T
%plot(t,f) %Graficamos la funcion
%axis([0 10 -1 1.5])
f1 = sin(t-2*pi)*heaviside(t-2*pi)
trans_lapl = laplace(f1) % Determinamos la Transformada de f
% Ahora el arreglo para el dominio S
num = [1] % Numerador
dem = [2*pi 1 2*pi 1] % Denominador
printsys(num,dem)
pzmap(num,dem) % Mostramos la grafica
axis([-2 2 -1.5 1.5])
estabilidad = 'El sistema es ESTABLE'
f1 =
sin(t)*heaviside(t - 2*pi)
trans_lapl =
exp(-2*pi*s)/(s^2 + 1)
num =
dem =
num/den =
1
--------------------------------
6.2832 s^3 + s^2 + 6.2832 s + 1
estabilidad =
1
Published with MATLAB® R2020a
2
clc % Limpiamos los comandos
clear all % Limpiamos las variables
close all % Cerramos procesos previos
syms f t a s% Declaramos variables simbólicas
t= 0:0.05:10
f = sin(t-2*pi).*heaviside(t-2*pi) % Definimos la ecuacion funcion t
%Ahora el arreglo para el dominio T
plot(t,f) %Graficamos la funcion
axis([0 10 -1 1.5])
%f1 = sin(t-2*pi)*heaviside(t-2*pi)
%trans_lapl = laplace(f1) % Determinamos la Transformada de f
% Ahora el arreglo para el dominio S
%num = [1*(1/(1+2*s))] % Numerador
%dem = [1 0 1] % Denominador
%printsys(num,dem)
%pzmap(num,dem) % Mostramos la grafica
%axis([-1 1 -1.5 1.5])
%estabilidad = 'El sistema es ESTABLE'
t =
Columns 1 through 7
Columns 8 through 14
Columns 15 through 21
Columns 22 through 28
Columns 29 through 35
Columns 36 through 42
Columns 43 through 49
Columns 50 through 56
1
Columns 57 through 63
Columns 64 through 70
Columns 71 through 77
Columns 78 through 84
Columns 85 through 91
Columns 92 through 98
2
7.3500 7.4000 7.4500 7.5000 7.5500 7.6000 7.6500
f =
Columns 1 through 7
0 0 0 0 0 0 0
Columns 8 through 14
0 0 0 0 0 0 0
Columns 15 through 21
0 0 0 0 0 0 0
Columns 22 through 28
0 0 0 0 0 0 0
Columns 29 through 35
0 0 0 0 0 0 0
3
Columns 36 through 42
0 0 0 0 0 0 0
Columns 43 through 49
0 0 0 0 0 0 0
Columns 50 through 56
0 0 0 0 0 0 0
Columns 57 through 63
0 0 0 0 0 0 0
Columns 64 through 70
0 0 0 0 0 0 0
Columns 71 through 77
0 0 0 0 0 0 0
Columns 78 through 84
0 0 0 0 0 0 0
Columns 85 through 91
0 0 0 0 0 0 0
Columns 92 through 98
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
4
0.0168 0.0668 0.1165 0.1660 0.2151 0.2637 0.3115
5
Published with MATLAB® R2020a
6
clc % Limpiamos los comandos
clear all % Limpiamos las variables
close all % Cerramos procesos previos
prob4 = 'El problema 4 en la funcion f2 tiene e^-2t'
T_Teorema_Tras = 'Primer Teorema de Traslacion'
prob5 = 'El problema 5 en la funcion f2 tiene u(t-2*pi)'
T_Teorema_Tras = 'Segundo Teorema de Traslacion'
prob4 =
T_Teorema_Tras =
prob5 =
T_Teorema_Tras =