Home
Add Document
Sign In
Create An Account
TUTORIAL BASICO DE MATLAB
TUTORIAL BASICO DE MATLAB 1 COMANDOS BASICOS COMANDOS GENERALES Help Ayuda Demo Demostraciones Who Muestra las variables en memoria What Mue...
Author:
Daniel Alvarado Ojeda
13 downloads
1 Views
407KB Size
Report
Download PDF
Recommend Documents
TUTORIAL INTRODUCTORIO DE MATLAB
Basic Matlab Tutorial
Matlab Class Tutorial (DEPRECATED)
MATLAB Tutorial. MATLAB Basics & Signal Processing Toolbox
Matlab Tutorial. Joseph E. Gonzalez
MATLAB : A SHORT TUTORIAL INTRODUCTION
Matlab Tutorial: Bacterial gene expression
Dynamics and Vibrations MATLAB tutorial
MATLAB Tutorial III Variables, Files, Advanced Plotting
Tutorial para resolver ecuaciones diferenciales usando MATLAB
PROGRAMA BASICO DE CAPACITACION
SISTEMA DE FRENO BASICO
SANEAMIENTO BASICO ( 1ER INTERVENCION DEL PAQUETE BASICO DE SERVICIOS DE SALUD ) SANEAMIENTO BASICO
EJERCICIOS DE EXCEL BASICO
Plotting direction fields in Matlab and Maxima a short tutorial
Short Tutorial on Matlab ( 2004 by Tomas Co)
GLOSARIO BASICO IBEROAMERICANO DE AJEDREZ
CURSO BASICO DE PRIMEROS AUXILIOS
LO BASICO DE LA LLANTA
Short Tutorial on Matlab ( 2004, 2005 by Tomas Co)
MATLAB Tutorial. Aly El-Osery. October 27, 2004
CURSO DE INGLES NIVEL BASICO
Desarrollo de aplicaciones ios Basico
PLAN BASICO DE ORDENAMIENTO TERRITORIAL
TUTORIAL BASICO DE MATLAB
1
COMANDOS BASICOS COMANDOS GENERALES Help
Ayuda
Demo
Demostraciones
Who
Muestra las variables en memoria
What
Muestra archivos .m en el disco
Size
Numero de filas y columnas
Length
Longitud del vector
Clear
Limpia el espacio de trabajo
Computer
Tipo de computadora
^c
Interrupción local
Exit
Salida de matlab
Quit
Salida de matlab
TUTORIAL BASICO DE MATLAB
2
COMANDOS BASICOS
OPERADORES PUNTUALES
OPERADORES MATRICIALES
+
Suma
+
Suma
-
Resta
-
Resta
.*
Multiplicatión
*
Multiplicacion
./
Division derecha
/
Division derecha
.\
Division izquierda
\
Division izquierda
.^
Potenciacion
^
Potenciacion
.‘
Traspuesta
‘
conjugada
TUTORIAL BASICO DE MATLAB
3
COMANDOS BASICOS FUNCIONES TRIGONOMETRICAS OPERADORES LOGICOS Y RELACIONALES
=
Mayor igual que
==
Igual
~=
No igual
&
Y
|
O
~
No
TUTORIAL BASICO DE MATLAB
Sin
Seno
Cos
Coseno
Tan
Tangente
Asin
Arcoseno
Acos
Arcocoseno
Atan
Arcotangente
Sinh
Seno hiperbolico
Cosh
Coseno hiperbolico
Tanh
Tangente hiperbolica
Asinh
Arcoseno hiperbolica
Acosh
Arcocoseno hiperbolica
Atanh
Arcotangente hiperbolico
4
COMANDOS BASICOS
CARACTERES ESPECIALES
=
Introduccion de asignacion
[
Usado para formar vectores y matrices
]
Ver [
(
Precedencia aritmetica
)
Ver (
.
Punto decimal
…
La instruccion sigue en la siguiente linea
,
Separa indices y argumentos de la funcion
;
Acaba filas, suprime la impresion
%
comentarios
:
Indexacion, generacion de vectores
!
Ejecuta operacion del OS. TUTORIAL BASICO DE MATLAB
5
COMANDOS BASICOS
VALORES ESPECIALES
Ans
Respuesta cuando no se asigna la expresion
Eps
Precision
Pi
Π
i,j
√-1
Inf
∞
NaN
No numero
Clock
Reloj de pared
Date
Fecha
Flops
Numero de operaciones
Nargin
Numero de argumentos de in de una funcion
nargout
Numero de argumentos de out de una funcion
TUTORIAL BASICO DE MATLAB
6
COMANDOS BASICOS
ARCHIVOS DE DISCO
Chdir
Cambiar de directorio
Delete
Borrar archivo
Diary
Diario de la decision
Dir
Directorio de archivos en el disco
Load
Cargar variables de un archivo en el disco
Save
Guardar variables en un archivo
Type
Mostrar funcion o archivo
What
Mostrar archivos .m en el disco
Fprintf
Escribir en un archivo
Pack
Compactar memoria via save
TUTORIAL BASICO DE MATLAB
7
COMANDOS BASICOS
FUNCIONES LOGICAS Y RACIONALES
Any
Condicion logica
All
Condiciones logicas
Find
Encuentra indices de valores logicos
Isnan
Detecta NaNs
Finite
Detecta infinitos
Isempty
Detecta matrices vacias
Isstr
Detecta variables de cadena
Strcomp
Compara variables de cadena
TUTORIAL BASICO DE MATLAB
8
COMANDOS BASICOS
CONTROL DE FLUJO
If
Ejecuta instrucciones condicionalmente
Elseif
Se usa con if
Else
Se usa con if
End
Finaliza los if, for, while
For
Repite instrucciones un numero de veces
While
Repite instrucciones mientras una sentencia logica sea verdadera
Break
Sale de los bucles for y while
return
Salida desde funciones
pause
Pausa hasta que se pulse la tecla
TUTORIAL BASICO DE MATLAB
9
COMANDOS BASICOS
FUNCIONES LOGICAS Y RACIONALES
Any
Condicion logica
All
Condiciones logicas
Find
Encuentra indices de valores logicos
Isnan
Detecta NaNs
Finite
Detecta infinitos
Isempty
Detecta matrices vacias
Isstr
Detecta variables de cadena
Strcomp
Compara variables de cadena
TUTORIAL BASICO DE MATLAB
10
COMANDOS BASICOS
VENTANA ALFANUMERICA
Clc
Limpia pantalla
Home
Mueve el cursor al comienzo
Format
Establece el formato de salida
Disp
Muestra matriz o texto
Fprintf
Imprime numero formateado
Echo
Permite la muestra de las instrucciones
TUTORIAL BASICO DE MATLAB
11
COMANDOS BASICOS
GRAFICOS
Plot
Grafico lineal en el plano x,y
Loglog
Grafico logaritmico en el plano x,y
Semilogx
Grafico semilogaritmico
Semilogy
Grafico semilogaritmico
Polar
Grafico polar
Mesh
Superficie de malla tridimensional
Contour
Plano de contornos
Meshdom Dominio para graficos de superficie Bar
Graficos de barras
Stairs
Graficos de escaleras
Errorbay
Anhade barras de errores
TUTORIAL BASICO DE MATLAB
12
COMANDOS BASICOS
MENSIONES EN LOS GRAFICOS
Title
Titulo
Xlabel
Anotacion en el eje X
Ylabel
Anotacion en el eje Y
Grid
Cuadricula en la imagen
Text
Posiciona texto aleatoriamente
Gtext
Posiciona texto con el cursor
Ginput
Input grafico
TUTORIAL BASICO DE MATLAB
13
COMANDOS BASICOS
CONTROL DE LA VENTANA GRAFICA
IMPRESION DE GRAFICOS
Axis
Escala manual para los ejes
Print
Envia el grafico a la impresora
Hold
Congela el grafico en la pantalla
Prtsc
Volcado de pantalla
Shg
Muestra la pantalla grafica
meta
Archivo de graficos
Clg
Limplia la pantalla grafica
Subplot
Divide la grafica
TUTORIAL BASICO DE MATLAB
14
COMANDOS BASICOS FUNCIONES ELEMENTALES Abs
Modulo complejo
Anlge
Argumento complejo
Sqrt
Raiz cuadrada
Real
Parte real
Imag
Parte imaginaria
Conj
Conjugado complejo
Round
Redondeo al entero mas cercano
Fix
Redondeo hacia 0
Floor
Redondeo hacia -∞
Ceil
Redondeo hacia ∞
sign
Funcion signo
Rem
Resto
Exp
Exponencial base e
Log
Logaritmo natural
log10
TUTORIAL Logaritmo enBASICO base DE 10MATLAB
15
COMANDOS BASICOS
CONDICIONAMIENTO DE MATRICES
FUNCIONES DE MATRICES ELEMENTALES
Cond
Numero de condicion en la norma 2
Expm
Matriz exponencial
Norm
Norma 1, norma 2, norma de frobenius, norma∞
Logm
Matriz logaritmico
Rank
Rango
Sqrtm
Matriz raiz cuadrada
Rcond
Estimacion de la condicion(inverso)
fum
Funcion arbitraria de matriz
Poly
Polinomio caracteristico
Det
Determinante
Trace
Traza
Kron
Producto tensorial de kronecker
TUTORIAL BASICO DE MATLAB
16
COMANDOS BASICOS
POLINOMIOS Poly
Polinomio caracteristico
Roots
Raiz de polinomio (matriz compañera)
Roots1
Raiz de polinomio (metodo laguerre)
Polyval
Evaluacion de polinomios
Polyvalm
Evaluacion polinomio matricial
Conv
Multiplicacion
Deconv
Division
Residue
Desarrollo en fracciones parciales
Polyfit
Ajuste por un polinomio.
TUTORIAL BASICO DE MATLAB
17
COMANDOS BASICOS ANALISIS DE DATOS POR COLUMNAS Max
Valor maximo
Min
Valor minimo
Mean
Media
Median
Mediana
Std
Desviacion tipica
Sort
Ordenacion
Sum
Suma de elementos
Prod
Producto de elementos
Cumsum
Suma acumulativa de elementos
Cumprod
Producto acumulativo de elementos
Diff
Derivadas aproximadas
Hist
Histogramas
Corrcoef
Coeficientes de coorrelacion
Cov
Matriz de covarianza
Cplxpair
Reordena enBASICO planesDEcomplejos TUTORIAL MATLAB
18
Suggest Documents
TUTORIAL INTRODUCTORIO DE MATLAB
Read more
Basic Matlab Tutorial
Read more
Matlab Class Tutorial (DEPRECATED)
Read more
MATLAB Tutorial. MATLAB Basics & Signal Processing Toolbox
Read more
Matlab Tutorial. Joseph E. Gonzalez
Read more
MATLAB : A SHORT TUTORIAL INTRODUCTION
Read more
Matlab Tutorial: Bacterial gene expression
Read more
Dynamics and Vibrations MATLAB tutorial
Read more
MATLAB Tutorial III Variables, Files, Advanced Plotting
Read more
Tutorial para resolver ecuaciones diferenciales usando MATLAB
Read more
PROGRAMA BASICO DE CAPACITACION
Read more
SISTEMA DE FRENO BASICO
Read more
SANEAMIENTO BASICO ( 1ER INTERVENCION DEL PAQUETE BASICO DE SERVICIOS DE SALUD ) SANEAMIENTO BASICO
Read more
EJERCICIOS DE EXCEL BASICO
Read more
Plotting direction fields in Matlab and Maxima a short tutorial
Read more
Short Tutorial on Matlab ( 2004 by Tomas Co)
Read more
GLOSARIO BASICO IBEROAMERICANO DE AJEDREZ
Read more
CURSO BASICO DE PRIMEROS AUXILIOS
Read more
LO BASICO DE LA LLANTA
Read more
Short Tutorial on Matlab ( 2004, 2005 by Tomas Co)
Read more
MATLAB Tutorial. Aly El-Osery. October 27, 2004
Read more
CURSO DE INGLES NIVEL BASICO
Read more
Desarrollo de aplicaciones ios Basico
Read more
PLAN BASICO DE ORDENAMIENTO TERRITORIAL
Read more
×
Report "TUTORIAL BASICO DE MATLAB"
Your name
Email
Reason
-Select Reason-
Pornographic
Defamatory
Illegal/Unlawful
Spam
Other Terms Of Service Violation
File a copyright complaint
Description
×
Sign In
Email
Password
Remember me
Forgot password?
Sign In
Login with Google
Login with Facebook