List price: $98.00
Stephen Chapman's Essentials of MATLAB Programming 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 MATLAB as a technical programming language as well as teaching students the basics of computer programming. Using top-down design methodology, the text encourages students to think about the proper design of a program before coding. Problem solving skills as well as the ability to locate desired functions within MATLAB are also presented making this text a useful reference tool.
1 - INTRODUCTION TO MATLAB The Advantages of MATLAB / Disadvantages of MATLAB / The MATLAB Environment / The MATLAB Desktop / The Command Window / The Command History Window / The Start Button / The Edit/Debug Window / Figure Windows / Docking and Undocking Windows / The MATLAB Workspace / The Workspace Browser / Getting Help / A Few Important Commands / The MATLAB Search Path / Using MATLAB as a Scratchpad / Summary / MATLAB Summary / Exercises
2 - MATLAB BASICS Variables and Arrays / Initializing Variables in MATLAB / Initializing Variables in Assignment Statements / Initializing with Shortcut Expressions / Initializing with Built-in Functions / Initializing Variables with Keyboard Input / Multidimensional Arrays / Storing Multidimensional Arrays in Memory / Accessing Multidimensional Arrays with One Dimension / Subarrays / The end Function / Using Subarrays on the Left-hand Side of an Assignment Statement / Assigning a Scalar to a Subarray / Special Values / Displaying Output Data / Changing the Default Format / The disp function / Formatted output with the fprintf function / Data Files / Scalar and Array Operations / Scalar Operations / Array and Matrix Operations / Hierarchy of Operations / Built-in MATLAB Functions / Optional Results / Using MATLAB Functions with Array Inputs / Common MATLAB Functions / Introduction to Plotting / Using Simple xy Plots / Printing a Plot / Exporting a Plot as a Graphical Image / Multiple Plots / Line Color, Line Style, Marker Style, and Legends / Logarithmic Scales / Examples / Debugging MATLAB Programs / Summary / Summary of Good Programming Practice / MATLAB Summary / Exercises
3 - BRANCHING STATEMENTS AND PROGRAM DESIGN Introduction to Top-Down Design Techniques / Use of Pseudocode / The Logical Data Type / Relational Operators / A Caution About The == And ~= Operators / Logic Operators / Logical Functions / Branches / The if Construct / Examples Using if Constructs / Notes Concerning the Use of if Constructs / The switch Construct / The try / catch Construct / Additional Plotting Features / Controlling x- and y-axis Plotting Limits / Plotting Multiple Plots on the Same Axes / Creating Multiple Figures / Subplots / Enhanced Control of Plotted Lines / Enhanced Control of Text Strings / Polar Plots / Annotating and Saving Plots / More on Debugging MATLAB Programs / Summary / Summary of Good Programming Practice / MATLAB Summary / Exercises
4 - LOOPS The while Loop / The for Loop / Details of Operation / The MATLAB Just-In-Time (JIT) Compiler / The break and continue Statements / Nesting Loops / Logical Arrays and Vectorization / Creating the Equivalent of if/else Constructs with Logical Arrays / Additional Examples / Summary / Summary of Good Programming Practice / MATLAB Summary / Exercises
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 / Subfunctions / Private Functions / Order of Function Evaluation / Summary / Summary of Good Programming Practice / MATLAB Summary / Exercises
6 - ADDITIONAL DATA TYPES AND PLOT TYPES Complex Data / Complex Variables / Using Complex Numbers with Relational Operators / Complex Functions / Plotting Complex Data / String Functions / String Conversion Functions / Creating Two-Dimensional Character Arrays / Concatenating Strings / Comparing Strings / Searching / Replacing Characters within a String / Uppercase and Lowercase Conversion / Trimming Whitespace from Strings / Numeric-to-String Conversions / String-to-Numeric Conversions / Summary / Multidimensional Arrays / Additional Two-Dimensional Plots / Additional Types of Two-Dimensional Plots / Plotting Functions / Histograms / Three-Dimensional Plots / Three-Dimensional Line Plots / Three-Dimensional Surface, Mesh, and Contour Plots / Summary / Summary of Good Programming P
Stephen Chapman's Essentials of MATLAB Programming 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 MATLAB as a technical programming language as well as teaching students the basics of computer programming. Using top-down design methodology, the text encourages students to think about the proper design of a program before coding. Problem solving skills as well as the ability to locate desired functions within MATLAB are also presented making this text a useful reference tool.
Table of Contents
1 - INTRODUCTION TO MATLAB The Advantages of MATLAB / Disadvantages of MATLAB / The MATLAB Environment / The MATLAB Desktop / The Command Window / The Command History Window / The Start Button / The Edit/Debug Window / Figure Windows / Docking and Undocking Windows / The MATLAB Workspace / The Workspace Browser / Getting Help / A Few Important Commands / The MATLAB Search Path / Using MATLAB as a Scratchpad / Summary / MATLAB Summary / Exercises
2 - MATLAB BASICS Variables and Arrays / Initializing Variables in MATLAB / Initializing Variables in Assignment Statements / Initializing with Shortcut Expressions / Initializing with Built-in Functions / Initializing Variables with Keyboard Input / Multidimensional Arrays / Storing Multidimensional Arrays in Memory / Accessing Multidimensional Arrays with One Dimension / Subarrays / The end Function / Using Subarrays on the Left-hand Side of an Assignment Statement / Assigning a Scalar to a Subarray / Special Values / Displaying Output Data / Changing the Default Format / The disp function / Formatted output with the fprintf function / Data Files / Scalar and Array Operations / Scalar Operations / Array and Matrix Operations / Hierarchy of Operations / Built-in MATLAB Functions / Optional Results / Using MATLAB Functions with Array Inputs / Common MATLAB Functions / Introduction to Plotting / Using Simple xy Plots / Printing a Plot / Exporting a Plot as a Graphical Image / Multiple Plots / Line Color, Line Style, Marker Style, and Legends / Logarithmic Scales / Examples / Debugging MATLAB Programs / Summary / Summary of Good Programming Practice / MATLAB Summary / Exercises
3 - BRANCHING STATEMENTS AND PROGRAM DESIGN Introduction to Top-Down Design Techniques / Use of Pseudocode / The Logical Data Type / Relational Operators / A Caution About The == And ~= Operators / Logic Operators / Logical Functions / Branches / The if Construct / Examples Using if Constructs / Notes Concerning the Use of if Constructs / The switch Construct / The try / catch Construct / Additional Plotting Features / Controlling x- and y-axis Plotting Limits / Plotting Multiple Plots on the Same Axes / Creating Multiple Figures / Subplots / Enhanced Control of Plotted Lines / Enhanced Control of Text Strings / Polar Plots / Annotating and Saving Plots / More on Debugging MATLAB Programs / Summary / Summary of Good Programming Practice / MATLAB Summary / Exercises
4 - LOOPS The while Loop / The for Loop / Details of Operation / The MATLAB Just-In-Time (JIT) Compiler / The break and continue Statements / Nesting Loops / Logical Arrays and Vectorization / Creating the Equivalent of if/else Constructs with Logical Arrays / Additional Examples / Summary / Summary of Good Programming Practice / MATLAB Summary / Exercises
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 / Subfunctions / Private Functions / Order of Function Evaluation / Summary / Summary of Good Programming Practice / MATLAB Summary / Exercises
6 - ADDITIONAL DATA TYPES AND PLOT TYPES Complex Data / Complex Variables / Using Complex Numbers with Relational Operators / Complex Functions / Plotting Complex Data / String Functions / String Conversion Functions / Creating Two-Dimensional Character Arrays / Concatenating Strings / Comparing Strings / Searching / Replacing Characters within a String / Uppercase and Lowercase Conversion / Trimming Whitespace from Strings / Numeric-to-String Conversions / String-to-Numeric Conversions / Summary / Multidimensional Arrays / Additional Two-Dimensional Plots / Additional Types of Two-Dimensional Plots / Plotting Functions / Histograms / Three-Dimensional Plots / Three-Dimensional Line Plots / Three-Dimensional Surface, Mesh, and Contour Plots / Summary / Summary of Good Programming P