Author

Language

Pages

Size

Format

Category

MATLAB Programming for Engineers by Stephen Chapman

PDF Free Download | MATLAB Programming for Engineers Fifth Edition by Stephen J. Chapman

• Chapter 1. Introduction to MATLAB
• The MATLAB Environment
• The MATLAB Desktop
• The Command Window
• The Toolstrip
• The Command History Window
• The Document Window
• Figure Windows
• Docking and Undocking Windows
• The MATLAB Workspace
• The Workspace Browser
• The Current Folder Browser
• Getting Help
• A Few Important Commands
• The MATLAB Search Path
• Using MATLAB as a Calculator
• Summary
• MATLAB Summary
• Exercises
• Chapter 2. MATLAB Basics
• Variables and Arrays
• Creating and 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
• Chapter 3. Two-Dimensional Plots
• Additional Plotting Features for Two-Dimensional Plots
• Logarithmic Scales
• Controlling x- and y-axis Plotting Limits
• Plotting Multiple Plots on the Same Axes
• Creating Multiple Figures
• Subplots
• Controlling the Spacing Between Points on a Plot
• Enhanced Control of Plotted Lines
• Enhanced Control of Text Strings
• Polar Plots
• Annotating and Saving Plots
• Additional Types of Two-Dimensional Plots
• Using the plot Function with Two-Dimensional Arrays
• Summary
• Summary of Good Programming Practice
• MATLAB Summary
• Exercises
• Chapter 4. Branching Statements and Program Design
• Introduction to Top-Down Design Techniques
• Use of Pseudocode
• The Logical Data Type
• Relational and Logic Operators
• 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
• More on Debugging MATLAB Programs
• Summary
• Summary of Good Programming Practice
• MATLAB Summary
• Exercises
• Chapter 5. Loops and Vectorization
• The while Loop
• The for Loop
• Details of Operation
• Vectorization: A Faster Alternative to Loops
• 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
• The MATLAB Profiler
• Summary
• Summary of Good Programming Practice
• MATLAB Summary
• Exercises
• Chapter 6. Basic 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
• Built-in MATLAB Functions: Sorting Functions
• Built-in MATLAB Functions: Random Number Functions
• Summary
• Summary of Good Programming Practice
• MATLAB Summary
• Exercises
• Chapter 7. Advanced Features of User-Defined Functions
• Function Functions
• Local Functions, Private Functions, and Nested Functions
• Local Functions
• Private Functions
• Nested Functions
• Order of Function Evaluation
• Function Handles
• Creating and Using Function Handles
• The Significance of Function Handles
• Function Handles and Nested Functions
• An Example Application: Solving Ordinary
• Differential Equations
• Anonymous Functions
• Recursive Functions
• Plotting Functions
• Histograms
• Summary
• Summary of Good Programming Practice
• MATLAB Summary
• Exercises
• Chapter 8. Complex Numbers and D Plots
• Complex Data
• Complex Variables
• Using Complex Numbers with Relational Operators
• Complex Functions
• Plotting Complex Data
• Multidimensional Arrays
• Three-Dimensional Plots
• Three-Dimensional Line Plots
• Three-Dimensional Surface, Mesh, and Contour Plots
• Creating Three-Dimensional Objects using
• Surface and Mesh Plots
• Summary
• Summary of Good Programming Practice
• MATLAB Summary
• Exercises
• Chapter 9. Additional Data Types
• Strings and 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
• The single Data Type
• Integer Data Types
• Limitations of the single and Integer Data Types
• Summary
• Summary of Good Programming Practice
• MATLAB Summary
• Exercises
• Chapter 10. Sparse Arrays, Cell Arrays, and Structures
• Sparse Arrays
• The sparse Attribute
• Cell Arrays
• Creating Cell Arrays
• Using Braces {} as Cell Constructors
• Viewing the Contents of Cell Arrays
• Extending Cell Arrays
• Deleting Cells in Arrays
• Using Data in Cell Arrays
• Cell Arrays of Strings
• The Significance of Cell Arrays
• Summary of cell Functions
• Structure Arrays
• Creating Structure Arrays
• Removing Fields from Structures
• Using Data in Structure Arrays
• The getfield and setfield Functions
• Dynamic Field Names
• Using the size Function with Structure Arrays
• Nesting Structure Arrays
• Summary of structure Functions
• Summary
• Summary of Good Programming Practice
• MATLAB Summary
• Exercises
• Chapter 11. Input/Output Functions
• An Introduction to MATLAB File Processing
• File Opening and Closing
• The fopen Function
• The fclose Function
• Binary I/O Functions
• The fwrite Function
• Formatted I/O Functions
• The fprintf Function
• Understanding Format Conversion Specifiers
• How Format Strings Are Used
• The sprintf Function
• The fscanf Function
• The fgetl Function
• The fgets Function
• Comparing Formatted and Binary I/O Functions
• File Positioning and Status Functions
• The exist Function
• The ferror Function
• The feof Function
• The ftell Function
• The frewind Function
• The fseek Function
• The textscan Function
• Function uiimport
• Summary
• Summary of Good Programming Practice
• MATLAB Summary
• Exercises
• Chapter 12. User-Defined Classes and
• Object-Oriented Programming
• An Introduction to Object-Oriented Programming
• Objects
• Messages
• Classes
• Static Methods
• Class Hierarchy and Inheritance
• Object-Oriented Programming
• The Structure of a MATLAB Class
• Creating a Class
• Adding Methods to a Class
• Listing Class Types, Properties, and Methods
• Attributes
• Value Classes versus Handle Classes
• Value Classes
• Handle Classes
• Destructors: The delete Method
• Access Methods and Access Controls
• Access Methods
• Access Controls
• Example: Creating a Timer Class
• Notes on the MyTimer Class
• Static Methods
• Defining Class Methods in Separate Files
• Overriding Operators
• Events and Listeners
• Property Events and Listeners
• Exceptions
• Creating Exceptions in Your Own Programs
• Catching and Fixing Exceptions
• Superclasses and Subclasses
• Defining Superclasses and Subclasses
• Example Using Superclasses and Subclasses
• Summary
• Summary of Good Programming Practice
• MATLAB Summary
• Exercises
• Chapter 13. Handle Graphics and Animation
• Handle Graphics
• The MATLAB Graphics System
• Object Handles
• Examining and Changing Object Properties
• Changing Object Properties at Creation Time
• Changing Object Properties after Creation Time
• Examining and Changing Properties Using Object Notation
• Examining and Changing Properties Using
• get/set Functions
• Examining and Changing Properties Using
• the Property Editor
• Using set to List Possible Property Values
• User-Defined Data
• Finding Objects
• Selecting Objects with the Mouse
• Position and Units
• Positions of figure Objects
• Positions of axes and uicontrol Objects
• Positions of text Objects
• Printer Positions
• Default and Factory Properties
• Graphics Object Properties
• Animations and Movies
• Erasing and Redrawing
• Creating a Movie
• Summary
• Summary of Good Programming Practice
• MATLAB Summary
• Exercises
• Chapter 14. Graphical User Interfaces
• How a Graphical User Interface Works
• Creating and Displaying a Graphical User Interface
• A Look Under the Hood
• The Structure of a Callback Subfunction
• Adding Application Data to a Figure
• A Few Useful Functions
• Object Properties
• Graphical User Interface Components
• Static Text Fields
• Edit Boxes
• Pushbuttons
• Toggle Buttons
• List Boxes
• Sliders
• Tables
• Additional Containers: Panels and Button Groups
• Panels
• Button Groups
• Dialog Boxes
• Error and Warning Dialog Boxes
• Input Dialog Boxes
• The uigetfile, uisetfile and uigetdir
• Dialog Boxes
• The uisetcolor and uisetfont Dialog Boxes
• Accelerator Keys and Keyboard Mnemonics
• Tips for Creating Efficient GUIs
• Tool Tips
• Toolbars
• Summary
• Summary of Good Programming Practice
• MATLAB Summary
• Exercises

Related Books

MATLAB Programming Fundamentals

What's the problem with this file?