Mastering MATLAB
A Comprehensive Tutorial and Reference

by Duane Hanselman and Bruce Littlefield

Preface
  1. Getting Started
    1. Introduction
    2. Typographical Conventions
  2. Basic MATLAB Features
    1. Simple Math
    2. The MATLAB Workspace
    3. Saving and Retrieving Data
    4. Number Display Formats
    5. About Variables
    6. Comments and Punctuation
    7. Complex Numbers
    8. Mathematical Functions
    9. Script Files
    10. File Management
    11. Command Window Control
    12. MATLAB at Startup
    13. On-line Help
  3. Arrays
    1. Simple Arrays
    2. Array Addressing
    3. Array Construction
    4. Array Orientation
    5. Scalar-Array Mathematics
    6. Array-Array Mathematics
    7. Array Manipulation
    8. Subarray Searching
    9. Array Manipulation Functions
    10. M-File Examples
  4. Matric Operations and Functions
    1. Sets of Linear Equations
    2. Matrix Functions
    3. Special Matrices
    4. Sparse Matrices
  5. Relational and Logical Operations
    1. Relational Operators
    2. Logical Operators
    3. Relational and Logical Functions
    4. NaNs and Empty Matrices
  6. Text
    1. Character Strings
    2. String Conversions
    3. String Functions
  7. Decision Making: Control Flow
    1. For Loops
    2. While Loops
    3. If-Else-End Structures
    4. Summary
    5. M-File Example
  8. M-file Functions
    1. Rules and Properties
  9. Data Analysis
    1. Data Analysis Functions
    2. M-File Examples
  10. Polynomials
    1. Roots
    2. Multiplication
    3. Addition
    4. Division
    5. Derivatives
    6. Evaluation
    7. Rational Polynomials
    8. M-File Examples
    9. Summary
  11. Curve Fitting and Interpolation
    1. Curve Fitting
    2. One-dimensional Interpolation
    3. Two-dimensional Interpolation
    4. M-File Examples
    5. Summary
  12. Cubic Splines
    1. Basic Features
    2. Piecewise Polynomials
    3. Integration
    4. Differentiation
    5. Summary
  13. Numerical Analysis
    1. Plotting
    2. Minimization
    3. Zero Finding
    4. Integration
    5. Differentiation
    6. Differential Equations
    7. M-File Examples
    8. Summary
  14. Fourier Analysis
    1. Fast Fourier Transform
    2. Fourier Series
    3. Summary
  15. Low-Level File I/O
  16. Debugging Tools
  17. 2-D Graphics
    1. The plot function
    2. Line Styles, Markers and Colors
    3. Adding Grids and Labels
    4. Adding a Legend
    5. Customizing Plot Axes
    6. Holding Plots
    7. Subplots
    8. Multiple Figure Windows
    9. Screen Rendering
    10. The zoom Command
    11. The ginput Function
    12. Other Basic 2-D Plots
    13. Specialized 2-D Plot Functions
    14. M-File Examples
    15. Summary
  18. 3-D Graphics
    1. The plot3 Function
    2. Changing Viewpoints
    3. Scalar Functions of Two Variables
    4. Interpolation of Rough or Scattered Data
    5. Mesh Plots
    6. Surface Plots
    7. Contour Plots
    8. 2-D Plots of 3-D Data
    9. Changing Viewpoints
    10. Other Functions
    11. Movies
    12. Summary
  19. Using Color
    1. Understanding Color Maps
    2. Using Color Maps
    3. Displaying Color Maps
    4. Creating and Altering Color Maps
    5. Using More Than One Color Map in a Figure
    6. Using Color to Describe a Fourth Dimension
    7. Lighting Models
    8. Summary
  20. Handle Graphics
    1. Who Should Create GUIs - And Why?
    2. GUI Object Hierarchy
    3. Menus
    4. Controls
    5. Programming and Callback Considerations
    6. Pointer And Mouse Button Events
    7. Rules for Interrupting Callbacks
    8. M-file Examples
    9. Dialog Boxes and Requesters
    10. User-Contributed GUI M-files
    11. Summary
  21. The Symbolic Math Toolbox
    1. Introduction
    2. Symbolic Expressions
    3. Operations on Symbolic Expressions
    4. Differentiation and Integration
    5. Plotting Symbolic Expressions
    6. Formatting and Simplifying Expressions
    7. Variable Precision Arithmetic
    8. Solving Equations
    9. Linear Algebra and Matrices
    10. Summary
  22. Internet Resources
    1. USENET Newsgroup
    2. Anonymous FTP
    3. World Wide Web
    4. MATLIB Automated E-Mail Response System
    5. The MathWorks MATLAB Digest
    6. The MATLAB Newsletter
    7. The MathWorks E-mail and Network Addresses
  23. The Mastering MATLAB Toolbox

Appendices
Appendix A
MATLAB Quick Reference Tables
Appendix B
Handle Graphics Property Tables
Appendix C
Symbolic Math Toolbox Quick Reference Tables
Appendix D
Mastering MATLAB Toolbox Quick Reference Tables
Appendix E
Mastering Matlab Toolbox Reference

Index