This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Notes on using MATLAB MATLAB is an interactive program for numerical methods, with graphing capability. These notes describe some useful functions and syntax. The following sites have more extensive tutorials: http://www.math.mtu.edu/ ∼ msgocken/intro/intro.html http://www.engin.umich.edu/group/ctm/basic/basic.html Matlab.html http://math.math.unm.edu/ ∼ nitsche/courses/375/handouts/mattutorial.pdf http://www.math.unh.edu/ ∼ mathadm/tutorial/software/matlab/ http://www.mines.utah.edu/gg computer seminar/matlab/matlab.html The command for starting MATLAB depends on your system configuration (you can often start MATLAB on UNIX systems by typing matlab ). To obtain help from within MATLAB, type help ; this provides a list of available functions. Supply the function name for information about a particular item (e.g. help plot ). For demonstration of a few commands, type demo . To terminate a MATLAB session, type quit . Formats for printing numbers. format short 3.1416 format short e 3.1416e+00 format long 3.14159265358979 format long e 3.141592653589793e+00 There is only one data type in MATLAB, complex matrices. Vectors and scalars are special cases. Matrices can be created as follows,...
View Full Document
This note was uploaded on 12/08/2011 for the course MATH 623 taught by Professor Conlon during the Fall '08 term at University of Michigan.
- Fall '08