| |
| |
Introduction to Matlab | |
| |
| |
The Advantages of Matlab | |
| |
| |
Disadvantages of Matlab | |
| |
| |
The Matlab Environment | |
| |
| |
Using Matlab as a Srcratchpad | |
| |
| |
Summary | |
| |
| |
Exercises | |
| |
| |
Matlab Basics | |
| |
| |
Variables and Arrays | |
| |
| |
Initializing Variables in Matlab | |
| |
| |
Multidimensional Arrays | |
| |
| |
Subarrays | |
| |
| |
Special Values | |
| |
| |
Displaying Output Data | |
| |
| |
Data Files | |
| |
| |
Scalar and Array Operations | |
| |
| |
Hierarchy of Operations | |
| |
| |
Built-in Matlab Functions | |
| |
| |
Introduction to Plotting | |
| |
| |
Examples | |
| |
| |
Debugging Matlab Programs | |
| |
| |
Summary | |
| |
| |
Exercises | |
| |
| |
Branching Statements and Program Design | |
| |
| |
Introduction to Top-Down Design Techniques | |
| |
| |
Use of Pseudocode | |
| |
| |
Relational and Logical Operators | |
| |
| |
Branches | |
| |
| |
Additional Plotting Features | |
| |
| |
More on Debugging Matlab Programs | |
| |
| |
Summary | |
| |
| |
Exercises | |
| |
| |
Loops | |
| |
| |
The while Loop | |
| |
| |
The for Loop | |
| |
| |
Logical Arrays and Vectorization | |
| |
| |
Additional Examples | |
| |
| |
Summary | |
| |
| |
Exercises | |
| |
| |
User-Defined Functions | |
| |
| |
Introduction to Matlab Functions | |
| |
| |
Variable Passing in Matlab: The Pass-By-Value Scheme | |
| |
| |
Optional Arguments | |
| |
| |
Sharing Data Using Global Memory | |
| |
| |
Preserving Data Between Calls to a Function | |
| |
| |
Function Functions | |
| |
| |
Subfunctions and Private Functions | |
| |
| |
Summary | |
| |
| |
Exercises | |
| |
| |
Complex Data, Character Data, and Additional Plot Types | |
| |
| |
Complex Data | |
| |
| |
String Functions | |
| |
| |
Multidimensional Arrays | |
| |
| |
Additional Two-Dimensional Plots | |
| |
| |
Three-Dimensional Plots | |
| |
| |
Summary | |
| |
| |
Exercises | |
| |
| |
Sparse Arrays, Cell Arrays, and Structures | |
| |
| |
Sparse Arrays | |
| |
| |
Cell Arrays | |
| |
| |
Structure Arrays | |
| |
| |
Summary | |
| |
| |
Exercises | |
| |
| |
Input/Output Functions | |
| |
| |
The textread Function | |
| |
| |
More about the load and save Commands | |
| |
| |
An Introduction to Matlab File Processing | |
| |
| |
File Opening and Closing | |
| |
| |
Binary I/O Functions | |
| |
| |
Formatted I/O Functions | |
| |
| |
Comparing Formatted and Binary I/O Functions | |
| |
| |
File Positioning and Status Functions | |
| |
| |
Function uiimport | |
| |
| |
Summary | |
| |
| |
Exercises | |
| |
| |
Handle Graphics | |
| |
| |
The Matlab Graphics System | |
| |
| |
Object Handles | |
| |
| |
Examining and Changing Object Properties | |
| |
| |
Using set to List Possible Property Values | |
| |
| |
User-Defined Date | |
| |
| |
Finding Objects | |
| |
| |
Selecting Objects with the Mouse | |
| |
| |
Position and Units | |
| |
| |
Printer Positions | |
| |
| |
Default and Factory Properties | |
| |
| |
Graphics Object Properties | |
| |
| |
Summary | |
| |
| |
Exercises | |
| |
| |
Graphical User Interfaces | |
| |
| |
How a Graphical User Interface Works | |
| |
| |
Creating and Displaying a Graphical User Interface | |
| |
| |
Object Properties | |
| |
| |
Graphical User Interface Components | |
| |
| |
Dialog Boxes | |
| |
| |
Menus | |
| |
| |
Tips for Creating Efficient GUIs | |
| |
| |
Summary | |
| |
| |
Exercises | |
| |
| |
ASCII Character Set | |
| |
| |
Answers to Quizzes | |
| |
| |
Index | |