1.1 Discussion
1.2 Links to other Web Sites
1.3 Use of help
2.1 Discussion
2.2 Entering MATLAB and Using help and demo
2.3 Defining Arrays and Arithmetic Operations with them
2.4 Saving and Printing your Work
2.5 Matrix Operations with Arrays
2.6 Element by Element Operations on Arrays
2.7 Plotting Results
2.8 Find Roots of Equations: Using Polynomial Approximations
3.1 Discussion
3.2 Controlling Your Screen Output with disp and format
3.3 Solution of Simultaneous Equations
3.4 Data Fitting
3.5 Using Polynomials
3.6 Trial and Error Solutions
3.7 Contour Plots and a Simple Function
3.8 Easy Editing During a MATLAB Session
3.9 Communicating with Other Systems and Languages
4.1 Operations on Scalars
4.2 Operations on Vectors of the Same Length
4.3 Operations of a Vector with a Scalar
4.4 Matrices Used with the Operators
5.1 The Logical Operators: not, and, or, exclusive or
5.2 Associated Logical Functions: any, all, find
5.3 Looking for Special Numbers: NaN and Inf
6.1 Two-Dimensional Plotting Functions in MATLAB6.1.1 Using fplot
6.1.2 Annotating fplot
6.1.3 Making a bar graph
6.1.4 Making a pie chart
6.1.5 Using plot and yxplot6.2 Miscellaneous Graphics Commands
6.3 Three-Dimensional Plotting Functions
6.4 Advanced Features of Plotting6.4.1 Using Plot Handles
6.4.2 Printing and Saving Graphics Files
6.4.3 Images and Graphs
More Useful Matlab Arithmetic Functions 7.1 Find and Evaluate Character Strings: grep and eval
7.2 The Exponential and Logarithm Functions: exp and log
7.3 General Powers and Roots: x.^a, and, sqrt(x)
7.4 Hyperbolic Functions & Their Inverses: cosh, sinh, tanh, etc.
7.5 Trigonometric Functions & Their Inverses: cos, acos, sin
7.6 Setting Nothing, Zeros and Random Values in Arrays
Functions that Operate on Arrays 8.1 The sum and cumsum Functions
8.2 The prod and cumprod Functions
8.3 The max and min Functions
8.4 The sort Function
8.5 The mean and median Functions
8.6 Moments and the Standard Deviation Function: std
8.7 The diff Function and an Approximate Derivative
The Main Group of Matrix Operartions 9.1 Matrix Multiply
9.2 Determinants and Matrix Division
Matlab m-files 10.1 Discussion
10.2 Loops with for and while
10.3 Tests with if Statements
10.4 Global and Local Variables Used in Functions and m-files
10.5 The Heading of a MATLAB Function
Finding Errors and Testing Programs 11.1 Discussion
11.2 Diagnostic Messages
11.3 Using echo
11.4 The keyboard Command
Matlab List of Figures
Figure 2.1 Sin(t) and Cos(t)
Figure 2.2 Looking for a root
Figure 3.1 Approximations to Experimental Data
Figure 3.2 A Contour Plot
Figure 3.3 Steam Enthalpy Plot
Figure 6.1 Use of yxplot
Figure 6.2 Use of yxploti and ginput
Figure 6.3 Use of meshgrid and mesh
Figure 6.4 Another View of a Three Dimension Object
Figure 8.1 Numerical Approximation to a Derivative
For additional information about the use of Matlab see: for pages from Indiana and for pages and links at Rice
Return to CENG 303 home page