Select Index


Introduction

    What Is MATLAB?
        The MATLAB System

    MATLAB Documentation
        MATLAB Online Help

    Starting and Quitting MATLAB
        Starting MATLAB
        Quitting MATLAB
        MATLAB Desktop

Matrices and Arrays

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

    Expressions
        Variables
        Numbers
        Operators
        Functions
        Examples of Expressions

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

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

    Controlling Command Window Input and Output
        The format Function
        Suppressing Output
        Entering Long Statements
        Command Line Editing

Graphics

    Overview of MATLAB Plotting
        The Plotting Process
        Graph Components
        Figure Tools
        Arranging Graphs Within a Figure
        Selecting Plot Types

    Editing Plots
        Plot Editing Mode
        Using Functions to Edit Graphs

    Examples -- Using MATLAB Plotting Tools
        Modifying the Graph Data Source

    Preparing Graphs for Presentation
        Modify the Graph to Enhance the Presentation
        Printing the Graph
        Exporting the Graph

    Basic Plotting Functions
        Creating a Plot
        Multiple Data Sets in One Graph
        Specifying Line Styles and Colors
        Plotting Lines and Markers
        Imaginary and Complex Data
        Adding Plots to an Existing Graph
        Figure Windows
        Multiple Plots in One Figure
        Controlling the Axes
        Axis Labels and Titles
        Saving Figures

    Mesh and Surface Plots
        Visualizing Functions of Two Variables

    Images
        Reading and Writing Images

    Printing Graphics
    Handle Graphics
        Using the Handle
        Graphics Objects
        Setting Object Properties
        Specifying the Axes or Figure
        Finding the Handles of Existing Objects

    Animations
        Erase Mode Method
        Creating Movies

Programming

    Flow Control
        if, else, and elseif
        switch and case
        for
        while
        continue
        break
        try - catch
        return

    Other Data Structures
        Multidimensional Arrays
        Cell Arrays
        Characters and Text
        Structures

    Scripts and Functions
        Scripts
        Functions
        Types of Functions
        Global Variables
        Passing String Arguments to Functions
        The eval Function
        Function Handles
        Function Functions
        Vectorization
        Preallocation

Creating Graphical User Interfaces

    What Is GUIDE?
    Laying Out a GUI
        Starting GUIDE
        The Layout Editor

    Programming a GUI

Desktop Tools and Development Environment

    Desktop Overview
        Arranging the Desktop
        Start Button

    Command Window and Command History
        Command Window
        Command History

    Help Browser
    Current Directory Browser and Search Path
        Current Directory
        Search Path

    Workspace Browser and Array Editor
        Workspace Browser
        Array Editor

    Editor/Debugger
    M-Lint Code Check and Profiler Reports
        M-Lint Code Check Report
        Profiler

    Other Development Environment Features