More New and Used

from Private Sellers

**Note:**Supplemental materials are not guaranteed with Rental or Used book purchases.

# Engineering Computation with Matlab

**by**Smith, David M.

2nd

### 9780321481085

0321481089

Paperback

1/1/2010

Addison Wesley

## Questions About This Book?

What version or edition is this?

This is the 2nd edition with a publication date of 1/1/2010.

What is included with this book?

- The
**New**copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any CDs, lab manuals, study guides, etc. - The
**Used**copy of this book is not guaranteed to include any supplemental materials. Typically, only the book itself is included.

## Summary

KEY MESSAGE:Engineering Computation with MATLAB reg; introduces the power of computing to engineering readers with no previous programming experience. By spending time on meaningful engineering examples, professor and trained engineer David Smith places the fundamental tenets of computer programming into the context of MATLAB, a user-friendly language for engineers. Introduction to Computers and Programming; Getting Started with MATLAB; Vectors and Arrays; Conditional Statements and Iteration; Functions; Character Strings; Cell Arrays and Structures; File Input and Output; Recursion; Problem Solving; Plotting; Matrices; Images; Sound; Numerical Methods; Sorting; Linked Lists (bonus online chapter); Binary Trees (bonus online chapter);Nary Trees (bonus online chapter); Graphs (bonus online chapter). For all readers interested in MATLAB for engineering computer programming.

## Table of Contents

Introduction to Computers and Programming | p. 1 |

Background | p. 2 |

History of Computer Architectures | p. 3 |

Computing Systems Today | p. 5 |

Executing a MATLAB Program | p. 15 |

Problem Solving | p. 15 |

Getting Started with MATLAB | p. 19 |

Programming Language Background | p. 21 |

Basic Data Manipulation | p. 23 |

The MATLAB User Interface | p. 27 |

Scripts | p. 37 |

Engineering Example-Spacecraft Launch | p. 41 |

Arrays | p. 49 |

Concept: Using Built-in Functions | p. 50 |

Concept: Data Collections | p. 50 |

MATLAB Vectors | p. 50 |

Engineering Example-Forces and Moments | p. 63 |

MATLAB Arrays | p. 64 |

Engineering Example-Computing Soil Volume | p. 76 |

Execution Control | p. 89 |

Concept: Code Blocks | p. 90 |

Conditional Execution in General | p. 90 |

if Statements | p. 91 |

switch Statements | p. 96 |

Iteration in General | p. 98 |

for Loops | p. 99 |

while Loops | p. 102 |

Engineering Example-Computing Liquid Levels | p. 105 |

Functions | p. 117 |

Concepts: Abstraction and Encapsulation | p. 118 |

Black Box View of a Function | p. 118 |

MATLAB Implementation | p. 119 |

Engineering Example-Measuring a Solid Object | p. 125 |

Character Strings | p. 135 |

Character String Concepts: Mapping and Casting | p. 136 |

MATLAB Implementation | p. 137 |

Format Conversion Functions | p. 139 |

Character String Operations | p. 142 |

Arrays of Strings | p. 145 |

Engineering Example-Encryption | p. 146 |

Cell Arrays and Structures | p. 157 |

Concept: Collecting Dissimilar Objects | p. 158 |

Cell Arrays | p. 158 |

MATLAB Structures | p. 163 |

Structure Arrays | p. 166 |

Engineering Example-Assembling a Structure | p. 172 |

File Input and Output | p. 185 |

Concept: Serial Input and Output (I/O) | p. 186 |

MATLAB Workspace I/O | p. 186 |

High-Level I/O Functions | p. 187 |

Lower-Level File I/O | p. 192 |

Engineering Example-Spreadsheet Data | p. 196 |

Recursion | p. 203 |

Concept: The Activation Stack | p. 204 |

Recursion Defined | p. 205 |

Implementing a Recursive Function in MATLAB | p. 206 |

Exceptions | p. 208 |

Wrapper Functions | p. 212 |

Tail Recursion | p. 215 |

Mutual Recursion | p. 217 |

Generative Recursion | p. 217 |

Examples of Recursion | p. 217 |

Engineering Example-Robot Arm Motion | p. 223 |

Principles of Problem Solving | p. 231 |

Solving Simple Problems | p. 232 |

Assembling Solution Steps | p. 232 |

Summary of Operations | p. 232 |

Solving Larger Problems | p. 248 |

Engineering Example-Processing Geopolitical Data | p. 250 |

Plotting | p. 259 |

Plotting in General | p. 260 |

2-D Plotting | p. 264 |

3-D Plotting | p. 270 |

Surface Plots | p. 273 |

Engineering Example-Visualizing Geographic Data | p. 291 |

Matrices | p. 303 |

Concept: Behavioral Abstraction | p. 304 |

Matrix Operations | p. 304 |

MATLAB Implementation | p. 307 |

Rotating Coordinates | p. 310 |

Solving Simultaneous Linear Equations | p. 317 |

Engineering Examples | p. 321 |

Images | p. 329 |

Nature of an Image | p. 330 |

Image Types | p. 331 |

Reading, Displaying, and Writing Images | p. 333 |

Operating on Images | p. 333 |

Engineering Example-Detecting Edges | p. 349 |

Processing Sound | p. 357 |

The Physics of Sound | p. 358 |

Recording and Playback | p. 358 |

MATLAB Implementation | p. 359 |

Time Domain Operations | p. 360 |

The Fast Fourier Transform | p. 369 |

Frequency Domain Operations | p. 374 |

Engineering Example-Oil Rig Structural Integrity | p. 381 |

Numerical Methods | p. 389 |

Interpolation | p. 390 |

Curve Fitting | p. 394 |

Numerical Integration | p. 400 |

Numerical Differentiation | p. 404 |

Engineering Example-Analyzing Rocket Data | p. 407 |

Sorting | p. 421 |

Measuring Algorithm Cost | p. 422 |

Algorithms for Sorting Data | p. 425 |

Performance Analysis | p. 435 |

Applications of Sorting Algorithms | p. 436 |

Engineering Example-A Selection of Countries | p. 440 |

Searching Graphs (online) | |

Object-Oriented Programming (online) | |

Linked Lists (online) | |

Binary Trees (online) | |

N-aryTrees and Graphs (online) | |

The Cost of Computing (online) | |

Appendices | |

MATLAB Special Characters, Reserved Words, and Symbols | p. A-1 |

The ASCII Character Set | p. B-1 |

Internal Number Representation | p. C-1 |

Web Reference Materials (online) | |

Answers to True or False and Fill in the Blanks (online) | |

Index | p. I-1 |

Table of Contents provided by Ingram. All Rights Reserved. |