Intro matlab
Release 0.1
Guillem Borrell i Nogueras
September 11, 2010
Índice general
1. Introducción 1.1. Fundamentos de programación . . . . . . . . . . . . . . . . . 1.2. Matlab es un lenguaje de programación . . . . . . . . . . . . 1.3. Matlab es un lenguaje interpretado . . . . . . . . . . . . . . . 1.4. Matlab es un lenguaje dinámico . . . . . . . . . . . .. . . . 1.5. El intérprete Octave para el lenguaje de programación Matlab 1.6. Lenguajes de programación modernos . . . . . . . . . . . . . 2. Primer Contacto 2.1. La interfaz gráfica de Matlab . . . . 2.2. La arquitectura de Matlab . . . . . 2.3. Octave . . . . . . . . . . . . . . . 2.4. Nuestro primer programa en Matlab 2.5. Nuestro primer programa en Octave 3. Escalares, vectores y polinomios3.1. Scripts y sesiones interactivas . 3.2. Operaciones aritméticas básicas 3.3. Definición de funciones . . . . 3.4. Vectores . . . . . . . . . . . . 3.5. Polinomios . . . . . . . . . . . 3.6. Ejercicio de síntesis . . . . . . 4. Matrices y Álgebra Lineal 4.1. Rutinas de creación de matrices 4.2. Operaciones con matrices . . . 4.3. Ejercicio de Síntesis . . . . . . 4.4. Ejercicio propuesto . . . . .. .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
3 3 4 4 5 6 6 7 7 9 9 10 11 13 13 13 15 15 18 20 23 24 25 28 29 31 31 32 33 33 35 35 37
. . . . .
. .. . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .. . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
5. Control de Flujo de Ejecución 5.1. Iteradores . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2. Condicionales . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6. Representación Gráfica6.1. Curvas en el plano 6.2. Figura activa . . . 6.3. Etiquetas . . . . . 6.4. Otros comandos .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . ..
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
I
6.5. 6.6. 6.7. 6.8.
Plot handles . . . . . . . . . . . . Subplots . . . . . . . . . . . . . . Representación de datos en el plano Ejercicio de síntesis . . . . . . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. ....
Regístrate para leer el documento completo.