1 Introduction to MATLAB 1.1 The Advantages of MATLAB 1.2 Disadvantage of MATLAB 1.3 The MATLAB Environment 1.4 Using MATLAB as a Srcratchpad 1.5 Summary 1.6 Exercises 2 MATLAB Basics 2.1 Variables and Arrays 2.2 Initializing Variables in MATLAB 2.3 Multidimensional Arrays 2.4 Subarrays 2.5 Special Values 2.6 Displaying Output Data 2.7 Data Files 2.8 Scalar and Array Operations 2.9 Hierarchy of Operations 2.10 Built-in MATLAB Functions 2.11 Introduction to Plotting 2.12 Examples 2.13 Debugging MATLAB Programs 2.14 Summary 2.15 Exercises 3 Branching Statements and Program Design 3.1 Introduction to Top-Down Design Techniques 3.2 Use of Pseudocode 3.3 Relational and Logical Operators 3.4 Branches 3.5 Additional Plotting Features 3.6 More on Debugging MATLAB Programs 3.7 Summary 3.8 Exercises 4 Loops 4.1 The while Loop 4.2 The for Loop 4.3 Logical Arrays and Vectorization 4.4 Additional Examples 4.5 Summary 4.6 Exercises 5 User-Defined Functions 5.1 Introduction to MATLAB Functions 5.2 Variable Passing in MATLAB:The Pass-Value Scheme 5.3 Optional Arguments 5.4 Sharing Data Using Global Memory 5.5 Preserving Data Between Calls to a Function 5.6 Function Functions 5.7 Subfunctions and Private Functions 5.8 Summarys 5.9 Exercises 6 Complex Data,Character Data,and Additional Plot Types 6.1 Complex Data 6.2 String Functions 6.3 Multidimensional Arrays 6.4 Additional Two-Dimensional Plots 6.5 Three-Dimensional Plots 6.6 Summary 6.7 Exercises 7 Sparse Arrays,Cell Arrays,and Structures 7.1 Sparse Arrays 7.2 Cell Arrays 7.3 Structure Arrays 7.4 Summary 7.5 Exercises 8 Input/Output Functions 8.1 The textread Function 8.2 More about the load and save Commands 8.3 An Introduction to MATLAB File Processing 8.4 File Opening and Closing 8.5 Binary I/O Functions 8.6 Fromattde I/O Functions 8.7 Comparing Formatted and Binary I/O Functions 8.8 File Positioning and Status Functions 8.9 Function uiimport 8.10 Summary 8.11 Exercises 9 Handle Graphics 9.1 The MATLAB Graphics System 9.2 Object Handles 9.3 Examining and Changing Object Properties 9.4 Using set to List Possible Property Values 9.5 User-Defined Date 9.6 Finding Objects 9.7 Selecting Objects with the Mouse 9.8 Position and Units 9.9 Printer Positions 9.10 Default and Factory Properties 9.11 Graphics Object Properties 9.12 Summary 9.13 Exercises 10 Graphical User Interfaces 10.1 How a Graphical User Interface Works 10.2 Creating and Displaying a Graphical User Interface 10.3 Object Properties 10.4 Graphical User Interface Components 10.5 Dialog Boxes 10.6 Menus 10.7 Tips for Creating Efficient Guls 10.8 Summary 10.9 Exercises Appendix A ASCII Character Appendix B Ansers to Quizzes Index