Essentials of MATLAB Programming – Stephen J. Chapman – 2nd Edition

Description

Stephen ’s Essentials of is a successful freshman-level text that is useable in a wide range of courses. This brief text serves two purposes — it teaches how to program using as a technical as well as teaching the basics of computer programming. Using top-down design methodology, the text encourages to think about the proper design of a program before coding. skills as well as the ability to locate desired functions within MATLAB are also presented making this text a useful tool.

Table of Content

1 - INTRODUCTION TO MATLAB
The Advantages of MATLAB / Disadvantages of MATLAB / The MATLAB Environment / Using MATLAB as a Scratchpad

2 - MATLAB BASICS
Variables and Arrays / Creating and 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

3 - BRANCHING STATEMENTS AND PROGRAM DESIGN
Introduction to Top-Down Design Techniques / Use of Pseudocode / The Logical Data Type / Branches / Additional Plotting Features / More on Debugging MATLAB Programs

4 - LOOPS
The while Loop / The for Loop / Logical Arrays and Vectorization / The MATLAB Profiler

5 - 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

6 - ADDITIONAL DATA TYPES AND PLOT TYPES
Complex Data / String Functions / Multidimensional Arrays / Additional Two-Dimensional Plots / Three-Dimensional Plots

7 - CELL ARRAYS, STRUCTURES, AND HANDLE GRAPHICS
Cell Arrays / Structure Arrays / Handle Graphics / Position and Units / Printer Positions / Default and Factory Properties / Graphics Object Properties

A - ASCII Character Set
B - MATLAB Input / Output Functions
C - Answers to Quizzes