Matlab

Manual Title page

References

Chapter 1:   Introduction to MATLAB

1.1 Discussion
1.2 Links to other Web Sites
1.3 Use of help

Chapter 2:   Basic Procedures in Using MATLAB

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

Chapter 3:   Example Problems Solved with MATLAB

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

Chapter 4:   Arithmetic Operations on the Elements in Arrays

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

Chapter 5:   Logical Operators and Functions

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

Chapter 6:   Using MATLAB to Display Results

6.1

Two-Dimensional Plotting Functions in MATLAB

6.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 yxplot

6.2 Miscellaneous Graphics Commands
6.3 Three-Dimensional Plotting Functions
6.4

Advanced Features of Plotting

6.4.1 Using Plot Handles

6.4.2 Printing and Saving Graphics Files

6.4.3 Images and Graphs

Chapter 7:   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

Chapter 8:   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

Chapter 9:   The Main Group of Matrix Operations

9.1 Matrix Multiply
9.2 Determinants and Matrix Division

Chapter 10:   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

Chapter 11:   Finding Errors and Testing Programs

11.1 Discussion
11.2 Diagnostic Messages
11.3 Using echo
11.4 The keyboard Command

Chapter 12:   New Features of Matlab

Chapter 13:   Structures, Cells and Other Arays

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 fplot

Figure 6.2 Annotated plot (legend)

Figure 6.3 Use of bar

Figure 6.4 Use of pie

Figure 6.5 Use of yxplot

Figure 6.6 Use of yxploti and ginput

Figure 6.7 Use of meshgrid and mesh

Figure 6.8 Another View of a Three Dimension Object

Figure 6.9 Use of surf

Figure 6.10 Use of Handles

Figure 8.1 Numerical Approximation to a Derivative