Matlab Programming For Engineers by Stephen J. ChapmanMatlab Programming For Engineers by Stephen J. Chapman

Matlab Programming For Engineers

byStephen J. Chapman

Paperback | November 8, 2007

Pricing and Purchase Info


Earn 1,595 plum® points

Prices and offers may vary in store


Ships within 1-2 weeks

Ships free on orders over $25

Not available in stores


Emphasizing problem-solving skills throughout this very successful book, Stephen Chapman introduces the MATLAB® language and shows how to use it to solve typical technical problems. The book teaches MATLAB® as a technical programming language showing students how to write clean, efficient, and well-documented programs. It makes no pretense at being a complete description of all of MATLAB®'s hundreds of functions. Instead, it teaches students how to locate any desired function with MATLAB®'s extensive on line help facilities. Overall, students develop problem-solving skills and are equipped for future courses and careers using the power of MATLAB®.
Stephen J. Chapman received a B.S. in Electrical Engineering from Louisiana State University and an M.S.E. in Electrical Engineering from the University of Central Florida. He pursued further graduate studies at Rice University. Mr. Chapman has served as an officer in the U.S. Navy, assigned to teach Electrical Engineering at the U.S. ...
Title:Matlab Programming For EngineersFormat:PaperbackDimensions:567 pages, 9 × 7.2 × 1.2 inPublished:November 8, 2007Publisher:Thomson-Engineering (NelsLanguage:English

The following ISBNs are associated with this title:

ISBN - 10:049524449X

ISBN - 13:9780495244493


Table of Contents

1 - INTRODUCTION TO MATLAB1.1 The Advantages of MATLAB1.2 Disadvantages of MATLAB1.3 The MATLAB Environment 1.3.1 The MATLAB Desktop 1.3.2 The Command Window 1.3.3 The Command History Window 1.3.4 The Start Button 1.3.5 The Edit/Debug Window 1.3.6 Figure Windows 1.3.7 Docking and Undocking Windows 1.3.8 The MATLAB Workspace 1.3.9 The Workspace Browser 1.3.10 Getting Help 1.3.11 A Few Important Commands 1.3.12 The MATLAB Search Path1.4 Using MATLAB as a Scratchpad1.5 Summary 1.5.1 MATLAB Summary1.6. Exercises2 - MATLAB BASICS2.1 Variables and Arrays2.2 Initializing Variables in MATLAB 2.2.1 Initializing Variables in Assignment Statements 2.2.2 Initializing with Shortcut Expressions 2.2.3 Initializing with Built-in Functions 2.2.4 Initializing Variables with Keyboard Input2.3 Multidimensional Arrays 2.3.1 Storing Multidimensional Arrays in Memory 2.3.2 Accessing Multidimensional Arrays with One Dimension2.4 Subarrays 2.4.1 The end Function 2.4.2 Using Subarrays on the Left-hand Side of an Assignment Statement 2.4.3 Assigning a Scalar to a Subarray2.5 Special Values2.6 Displaying Output Data 2.6.1 Changing the Default Format 2.6.2 The disp function 2.6.3 Formatted output with the fprintf function2.7 Data Files2.8 Scalar and Array Operations 2.8.1 Scalar Operations 2.8.2 Array and Matrix Operations2.9 Hierarchy of Operations2.10 Built-in MATLAB Functions 2.10.1 Optional Results 2.10.2 Using MATLAB Functions with Array Inputs 2.10.3 Common MATLAB Functions2.11 Introduction to Plotting 2.11.1 Using Simple xy Plots 2.11.2 Printing a Plot 2.11.3 Exporting a Plot as a Graphical Image 2.11.4 Multiple Plots 2.11.5 Line Color, Line Style, Marker Style, and Legends 2.11.6 Logarithmic Scales2.12 Examples2.13 Debugging MATLAB Programs2.14 Summary 2.14.1 Summary of Good Programming Practice 2.14.2 MATLAB Summary2.15 Exercises3 - BRANCHING STATEMENTS AND PROGRAM DESIGN3.1 Introduction to Top-Down Design Techniques3.2 Use of Pseudocode3.3 The Logical Data Type 3.3.1 Relational Operators 3.3.2 A Caution About The == And ~= Operators 3.3.3 Logic Operators 3.3.4 Logical Functions3.4 Branches 3.4.1 The if Construct 3.4.2 Examples Using if Constructs 3.4.3 Notes Concerning the Use of if Constructs 3.4.4 The switch Construct 3.4.5 The try / catch Construct3.5 Additional Plotting Features 3.5.1 Controlling x- and y-axis Plotting Limits 3.5.2 Plotting Multiple Plots on the Same Axes 3.5.3 Creating Multiple Figures 3.5.4 Subplots 3.5.5 Enhanced Control of Plotted Lines 3.5.6 Enhanced Control of Text Strings 3.5.7 Polar Plots 3.5.8 Annotating and Saving Plots3.6 More on Debugging MATLAB Programs3.7 Summary 3.7.1 Summary of Good Programming Practice 3.7.2 MATLAB Summary3.8 Exercises4 - LOOPS4.1 The while Loop4.2 The for Loop 4.2.1 Details of Operation 4.2.2 The MATLAB Just-In-Time (JIT) Compiler 4.2.3 The break and continue Statements 4.2.4 Nesting Loops4.3 Logical Arrays and Vectorization 4.3.1 Creating the Equivalent of if/else Constructs with Logical Arrays4.4 Additional Examples4.5 Summary 4.5.1 Summary of Good Programming Practice 4.5.2 MATLAB Summary4.6 Exercises5 - USER-DEFINED FUNCTIONS5.1 Introduction to MATLAB Functions5.2 Variable Passing in MATLAB: The Pass-By-Value Scheme5.3 Optional Arguments5.4 Sharing Data Using Global Memory5.5 Preserving Data Between Calls to a Function5.6 Function Functions5.7 Subfunctions, Private Functions, and Nested Functions 5.7.1 Subfunctions 5.7.2 Private Functions 5.7.3 Nested Functions 5.7.4 Order of Function Evaluation5.8 Summary 5.8.1 Summary of Good Programming Practice 5.8.2 MATLAB Summary5.9 Exercises6 - ADDITIONAL DATA TYPES AND PLOT TYPES6.1 Complex Data 6.1.1 Complex Variables 6.1.2 Using Complex Numbers with Relational Operators 6.1