Documentos de Académico
Documentos de Profesional
Documentos de Cultura
CURSO:
AUTOMATIZACIÓN Y CONTROL DE PROCESOS ALIMENTARIO
Arequipa – 2022
UNIVERSIDAD NACIONAL DE SAN AGUSTÍN DE AREQUIPA ING. PAOLA VANESSA VALENCIA PONCE
AUTOMATIZACIÓN Y CONTROL DE PROCESOS ALIMENTARIOS INFORME 4
Resumen
Abstract
MATLAB is a software and numerical computation system that offers an integrated development
environment with its own programming language. In the present practice, it was possible to know the
MATLAB environment through 6 exercises proposed by the same practice and replicating 1 modeling
and simulation exercise of the level of a tank. The procedure followed was the bibliographic review in
scientific search engines, interacting on the MathWorks website and solving exercises in the MATLAB
software. Finally, to solve the exercises, I typed in the command window, entered values and let it run
to obtain answers and graphs. Although exercises were also solved using the OCTAVE program. On
the other hand, discussions were held with scientific research reports where they used MATLAB for
their own purposes. Concluding that MATLAB is a versatile program, useful for solving exercises and
as several investigations indicate for mathematical calculations, design, analysis and optimization.
IV. METODOLOGÍA
3.1 Materiales
MATLAB:
UNIVERSIDAD NACIONAL DE SAN AGUSTÍN DE AREQUIPA ING. PAOLA VANESSA VALENCIA PONCE
AUTOMATIZACIÓN Y CONTROL DE PROCESOS ALIMENTARIOS INFORME 4
2x + 3y = 4
5x – 2y = 6
Fuente: Youtube.com
Digite en la ventana de comandos
3.2 Métodos y procedimiento
>> a = [2, 3; 5, -2];
Lea con atención los siguientes enunciados y >> b = [4; 6];
ejecútese en el orden que se presentan.
>> x = inv(a)*b;
PARTE 1: Revise el video “Matlab básico” x = 1.3684
para alcanzar entendimiento sobre el entorno
0.4211
de MATLAB
● Ingresar la matriz de coeficientes
https://www.youtube.com/watch?v=QWkX5a8 ● Ingresar el vector columna de
VYO4 constantes
● Obtener la solución invirtiendo la
Figura N°5: Video sobre TUTORIAL MATLAB
matriz
2019
● Vector solución
>> f = 'x*sin(x)';
>> h = int(f)
UNIVERSIDAD NACIONAL DE SAN AGUSTÍN DE AREQUIPA ING. PAOLA VANESSA VALENCIA PONCE
AUTOMATIZACIÓN Y CONTROL DE PROCESOS ALIMENTARIOS INFORME 4
>> x = roots(a)
x = -1.1060
0.3530 + 0.2371i
0.3530 - 0.2371i
V. RESULTADOS
EJERCICIO 1
Figura N°10: Sistema resuelto por Matlab
El sistema se varió los dígitos para comparar los resultados de la matriz inversa se obtuvieron
x=0.7391 y 0.6957 a comparación de los resultados de la otra matriz.
EJERCICIO 2
Figura N°11:Sistema resuelto por Matlab
UNIVERSIDAD NACIONAL DE SAN AGUSTÍN DE AREQUIPA ING. PAOLA VANESSA VALENCIA PONCE
AUTOMATIZACIÓN Y CONTROL DE PROCESOS ALIMENTARIOS INFORME 4
Se observa en el programa de Matlab la función (2cos(x) − 6x) ,se realizó todos los pasos pertinentes
para la obtención de resultados.
EJERCICIO 3
Se observa en la figura que se cambió un valor (-1) en la ecuación cúbica : 5x3 + 2x2 - 3x -1 = 0,se
obtuvo tres raíces complejas.
EJERCICIO 4
Digitación de códigos
EJERCICIO 5
𝑥
● Gráfica de la función f(x)=sen(x) 𝑒 en el intervalo 0 ≤ x ≤ π
𝑥
● Variando los datos: Gráfica de la función f(x)=cos(x) 𝑒 en el intervalo 0 ≤ x ≤ π
Se llena el tanque y a los 60 minutos (tiempo que está programado el modelo) llega a un
nivel de tanque de 1.75m
Ocurre algo similar al caso anterior, a los 60 minutos (tiempo que está programado el
modelo) llega a un nivel de tanque de 1.75m
ylag 1 = Z(:,1);
ylag 2 = Z(:,2);
UNIVERSIDAD NACIONAL DE SAN AGUSTÍN DE AREQUIPA ING. PAOLA VANESSA VALENCIA PONCE
AUTOMATIZACIÓN Y CONTROL DE PROCESOS ALIMENTARIOS INFORME 4
IX. ANEXOS
% dX/dt = f(X)
for i = 1:n
fx = edo(x(i));
end
plot(t,x) % GRÁFICA DE t vs X
function fx = edo(x)
fx = 10 - x^.5;
end