MATLAB Programming for Engineers / Edition 4

MATLAB Programming for Engineers / Edition 4

5.0 1
by Stephen J. Chapman
     
 

View All Available Formats & Editions

ISBN-10: 049524449X

ISBN-13: 9780495244493

Pub. Date: 11/08/2007

Publisher: CL Engineering

The first text of its kind, Stephen Chapman's best selling book on MATLAB has now been updated to reflect MATLAB 6.0. The first edition has been highly successful in enginering schools where introductory programming is taught using MATLAB rather than a traditional programming language. Although C, C++, and Java suit the needs of computer science students well, most

Overview

The first text of its kind, Stephen Chapman's best selling book on MATLAB has now been updated to reflect MATLAB 6.0. The first edition has been highly successful in enginering schools where introductory programming is taught using MATLAB rather than a traditional programming language. Although C, C++, and Java suit the needs of computer science students well, most engineering students will not be programmers by trade. Engineering students use computer tools to perform complex tasks such as scientific calculations, data analysis, simulations, and visualization: all skills students will use again in upper level classes. MATLAB provides several built in toolkits to help students accomplish these tasks, as well as an integrated devlopment environment.This book is distinctly unique from other MATLAB books in two ways. First, it is an introduction to MATLAB as a technical programming language rather than an introduction to the MATLAB environment. The author includes numerous pedagogical tools such as special boxes that highlight good programming practices, boxes that detail common pitfalls in MATLAB programming, and numerous programming exercises and examples. The book also makes wide use of MATLAB's predefined functions that provide tested solutions and time saved in writing subroutines or functions. Second, the book teaches students how to write clean, efficient, and documented programs using sound problem solving techniques. Top-down programming methodology is introduced to the students in Ch. 3 and is used consistently thoughout the rest of the book. This encourages students to think about the proper design of a program before beginning to code.

Product Details

ISBN-13:
9780495244493
Publisher:
CL Engineering
Publication date:
11/08/2007
Edition description:
Internatio
Pages:
567
Product dimensions:
7.40(w) x 9.10(h) x 1.40(d)

Related Subjects

Table of Contents

1Introduction to Matlab1
1.1The Advantages of Matlab1
1.2Disadvantages of Matlab3
1.3The Matlab Environment3
1.4Using Matlab as a Srcratchpad16
1.5Summary18
1.6Exercises19
2Matlab Basics21
2.1Variables and Arrays21
2.2Initializing Variables in Matlab24
2.3Multidimensional Arrays31
2.4Subarrays34
2.5Special Values37
2.6Displaying Output Data39
2.7Data Files42
2.8Scalar and Array Operations44
2.9Hierarchy of Operations48
2.10Built-in Matlab Functions51
2.11Introduction to Plotting52
2.12Examples59
2.13Debugging Matlab Programs67
2.14Summary69
2.15Exercises73
3Branching Statements and Program Design81
3.1Introduction to Top-Down Design Techniques81
3.2Use of Pseudocode86
3.3Relational and Logical Operators87
3.4Branches94
3.5Additional Plotting Features108
3.6More on Debugging Matlab Programs125
3.7Summary128
3.8Exercises130
4Loops137
4.1The while Loop137
4.2The for Loop143
4.3Logical Arrays and Vectorization157
4.4Additional Examples163
4.5Summary178
4.6Exercises179
5User-Defined Functions187
5.1Introduction to Matlab Functions189
5.2Variable Passing in Matlab: The Pass-By-Value Scheme194
5.3Optional Arguments204
5.4Sharing Data Using Global Memory209
5.5Preserving Data Between Calls to a Function217
5.6Function Functions222
5.7Subfunctions and Private Functions225
5.8Summary227
5.9Exercises229
6Complex Data, Character Data, and Additional Plot Types241
6.1Complex Data241
6.2String Functions252
6.3Multidimensional Arrays266
6.4Additional Two-Dimensional Plots268
6.5Three-Dimensional Plots276
6.6Summary281
6.7Exercises283
7Sparse Arrays, Cell Arrays, and Structures287
7.1Sparse Arrays287
7.2Cell Arrays294
7.3Structure Arrays306
7.4Summary314
7.5Exercises316
8Input/Output Functions319
8.1The textread Function319
8.2More about the load and save Commands321
8.3An Introduction to Matlab File Processing323
8.4File Opening and Closing325
8.5Binary I/O Functions328
8.6Formatted I/O Functions332
8.7Comparing Formatted and Binary I/O Functions342
8.8File Positioning and Status Functions347
8.9Function uiimport356
8.10Summary358
8.11Exercises360
9Handle Graphics363
9.1The Matlab Graphics System363
9.2Object Handles365
9.3Examining and Changing Object Properties365
9.4Using set to List Possible Property Values372
9.5User-Defined Date374
9.6Finding Objects375
9.7Selecting Objects with the Mouse377
9.8Position and Units380
9.9Printer Positions384
9.10Default and Factory Properties385
9.11Graphics Object Properties387
9.12Summary387
9.13Exercises387
10Graphical User Interfaces391
10.1How a Graphical User Interface Works391
10.2Creating and Displaying a Graphical User Interface392
10.3Object Properties406
10.4Graphical User Interface Components407
10.5Dialog Boxes422
10.6Menus425
10.7Tips for Creating Efficient GUIs436
10.8Summary443
10.9Exercises446
Appendix AASCII Character Set449
Appendix BAnswers to Quizzes451
Index465

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >

MATLAB Programming for Engineers 5 out of 5 based on 0 ratings. 1 reviews.
Anonymous More than 1 year ago