Introduction


        What Is MATLAB?
        The MATLAB System
        About Simulink


Getting Started


    Starting MATLAB
    Matrices and Magic Squares
        Entering Matrices
        sum, transpose, and diag
        Subscripts
        The Colon Operator
        The magic Function

    Expressions
        Variables
        Numbers
        Operators
        Functions
        Expressions

    Working with Matrices
        Generating Matrices
        load
        M-Files
        Concatenation
        Deleting Rows and Columns

    The Command Window
        The format Command
        Suppressing Output
        Long Command Lines
        Command Line Editing

    Graphics
        Creating a Plot
        Figure Windows
        Adding Plots to an Existing Graph
        Subplots
        Imaginary and Complex Data
        Controlling Axes
        Axis Labels and Titles
        Mesh and Surface Plots
        Visualizing Functions of Two Variables
        Images
        Printing Graphics

    Help and Online Documentation
        The help Command
        The Help Window
        The lookfor Command
        The Help Desk
        The doc Command
        Printing Online Reference Pages
        Link to the MathWorks

    The MATLAB Environment
        The Workspace
        save Commands
        The Search Path
        Disk File Manipulation
        The diary Command
        Running External Programs

    More About Matrices and Arrays
        Linear Algebra
        Arrays
        Multivariate Data
        Scalar Expansion
        Logical Subscripting
        The find Function

    Flow Control
        if
        switch and case
        for
        while
        break

    Other Data Structures
        Multidimensional Arrays
        Cell Arrays
        Characters and Text
        Structures

    Scripts and Functions
        Scripts
        Functions
        Global Variables
        Command/Function Duality
        The eval Function
        Vectorization
        Preallocation
        Function Functions

    Handle Graphics
        Graphics Objects
        Graphics Objects
        Object Handles
        Object Creation Functions
        Object Properties
        set and get
        Graphics User Interfaces
        Animations
        Movies

    Learning More