PROCESAMIENTO DE DATOS LABORATORIO N° 02 MATLAB – 2017 Reconoce el entorno de
Matlab y usa la ventana de comandos. CODIGO DEL CURSO:
A lumno(s lumno( s ) MAMANI APAZA ANGEL ORLANDO
Muy bueno (5)
Rúbrica:
Bueno (4)
Regular (3)
Malo(2)
Trabaja con el entorno de Matlab para ingresar datos y generar gráficos en dos dimensiones. Resuelve ecuaciones con Matlab. Realiza gráficos de funciones con Matlab. Observaciones y conclusiones.
Nota Grupo Ciclo Fecha Fec ha de entreg entreg a
A II 15/04/18
PROGRAMA DE FORMACIÓN REGULAR
Muy Malo (1)
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Nro. DD-106
Procesamiento de Datos – Lab. 02 Entorno de Matlab y la ventana de comandos Página 2 de 12
I.- OBJETIVOS: 1. 2. 3. 4.
Creación de una nueva interfaz Inicialización y utilización de las herramientas Matlab Realizar cálculos básicos con Matlab Representar la gráfica de una función
II.- SEGURIDAD: Advertencia: En este laboratorio está prohibida la manipulación del hardware, conexiones eléctricas o de red; así como la ingestión de alimentos o bebidas. Al culminar la sesión de laboratorio, apagar correctamente la computadora y el monitor
III.- FUNDAMENTO TEÓRICO: El docente dará una breve explicación para reforzar lo aprendido en las exposiciones.
IV.- NORMAS EMPLEADAS: No aplica
V.- RECURSOS: ●
En este laboratorio laboratorio cada alumno trabajará con un equipo con Windows 8.
VI.- METODOLOGÍA PARA EL DESARROLLO DE LA TAREA: T AREA: ●
El desarrollo del laboratorio es individual.
VII.- PROCEDIMIENTO: Nota: En cada una de las sesiones se aprenderá a utilizar varias de las funciones de MATLAB que habitualmente se usan para generar y manipular señales. INTRODUCCIÓN MATLAB es un entorno de computación y desarrollo de aplicaciones totalmente integrado orientado para llevar a cabo proyectos en donde se encuentren implicados elevados cálculos matemáticos y la visualización gráfica de los mismos. MATLAB integra análisis numérico, cálculo matricial, proceso de señal y visualización visualización gráfica en un entorno completo donde los problemas y sus soluciones son expresados del mismo modo en que se escribirían tradicionalmente, sin necesidad de hacer uso de la programación tradicional.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Nro. DD-106
Procesamiento de Datos – Lab. 02 Entorno de Matlab y la ventana de comandos Página 3 de 12
PROCEDIMIENTO Y RESULTADOS RESULTADOS 1. Ingresar al programa de MatLab. 2. Reconocimiento del entorno de MatLab 2017 1
4
3 2
5 6
7
Llenar los espacios en blanco según corresponda de acuerdo al gráfico: 1. 2. 3. 4. 5. 6. 7.
Barra de titulo Barra de menú Barra de herramientas Directorio actual Ventana de comandos Espacio de trabajo Listado histórico
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Nro. DD-106
Procesamiento de Datos – Lab. 02 Entorno de Matlab y la ventana de comandos Página 4 de 12
MatLab 2017 permite trabajar con variables y operadores: Los operadores básicos que usa Matlab son: Aritméticos: Suma :+ Resta :Es importante utilizar en una operación aritmética los paréntesis. Multiplicación : * División :/ Potenciación : ^ Lógicos y Relacionales Menor que :< Menor o igual : <= Igual : == Es importante NO dejar espacios en blanco entre los operadores. Mayor que :> Mayor o igual : >= No igual : ~=
FUNCIONES DEL MATLAB 2017 I. Entrada de datos y salida de resultados. Matlab funciona como una calculadora de lógica algebraica. Todo resultado d e operaciones es almacenado en la variable ans (answer = respuesta) Ingresar en el PROMPT los siguientes valores aritméticos:
RESPUESTA EN MATLAB >>
8+4
: 12
>>
8*4
: 16
:
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Nro. DD-106
Procesamiento de Datos – Lab. 02 Entorno de Matlab y la ventana de comandos Página 5 de 12
>>
36*18
:
>>
36+(5*28)-11
:
Cuál es el nombre de la ventana en donde se ingresan los datos y se ve la respuesta: Se llama “ Ventana Ventana
de comando (command window) ”. Esta ventana es importante ya que ahí podemos conocerlas últimas operaciones realizadas, accionando la flecha para arriba ↑ o hacia abajo para regresar
a la operación anterior.
II.
Variables A las variables se les asigna un determinado valor. Ingresar en el PROMPT los siguientes valores: a=5 b=7 c=9; d=4; e=a+b*(c-d)
Registrar el resultado e indicar la diferencia que hay al asignar valores con punto y coma y sin punto y coma.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Nro. DD-106
Procesamiento de Datos – Lab. 02 Entorno de Matlab y la ventana de comandos Página 6 de 12
-
Cuando se coloca el punto y coma ya no vemos el resultado de la variable, sino nos muéstrala siguiente operación que queremos realizar.
En la ventana Workspace:
Renombrar la variable “a” por la letra “m”
Duplicar la variable “b”, después renombrar por la letra “p”
Borrar la variable “p”
En la ventana Workspace, en la columna Size o tamaño hacer las siguientes modificaciones:
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Nro. DD-106
Procesamiento de Datos – Lab. 02 Entorno de Matlab y la ventana de comandos Página 7 de 12
III.
La variable “m” modificar el Size 1x1 por 3x2
Polinomios También se puede hacer operaciones con polinomios: Es importante conocer algunos comandos para poder trabajar correctamente en Matlab: deconv : dividir polinomios conv . multiplicar polinomios syms : variable simbólica (asignar valores) solve : solución de ecuación
Ingresar en el PROMPT la siguiente división:
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Nro. DD-106
Procesamiento de Datos – Lab. 02 Entorno de Matlab y la ventana de comandos Página 8 de 12
IV.
Cociente: + 2
Ecuaciones
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Nro. DD-106
Procesamiento de Datos – Lab. 02 Entorno de Matlab y la ventana de comandos Página 9 de 12
Se puede ejecutar y determinar la solución de la ecuación: Cuál es la respuesta de la ecuación
-
Raíces: = − ; = −
Cuáles son los coeficientes de la ecuación: Colocar cada coeficiente en una línea 1 5 6
TRABAJANDO EN MATLAB
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Nro. DD-106
Procesamiento de Datos – Lab. 02 Entorno de Matlab y la ventana de comandos Página 10 de 12
Los valores ingresados representan los coeficientes de la ecuación cuadrática que se ha resuelto Respuesta: = − ; = −
V.
Sistema de Ecuaciones Graficar la siguiente función haciendo uso del procedimiento convencional de matemática: f (x) (x) = x2- 2x - 3 − 2x 2x − 3 = 0
X
-3
X
+1
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Nro. DD-106
Procesamiento de Datos – Lab. 02 Entorno de Matlab y la ventana de comandos Página 11 de 12
Graficar la siguiente función: f (x) (x) = 3x3+ 2x - 17 Completar el siguiente cuadro y hacer la gráfica.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Nro. DD-106
Procesamiento de Datos – Lab. 02 Entorno de Matlab y la ventana de comandos Página 12 de 12