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. 13 |
Problem Solving | p. 13 |
Getting Start with MATLAB | p. 17 |
Programming Language Background | p. 19 |
Basic Data Manipulation | p. 21 |
The MATLAB User interface | p. 25 |
Scripts | p. 35 |
Engineering Example- Spacecraft Launch | p. 39 |
Vectors and Arrays | p. 47 |
Concept: Using Built-in Functions | p. 48 |
Concept Data Collections | p. 48 |
MATLAB Vectors | p. 48 |
Engineering Example-Forces and Moments | p. 61 |
MATLAB Arrays | p. 62 |
Engineering Example- Computing Soil Volume | p. 74 |
Execution Control | p. 85 |
Concept Code Blocks | p. 86 |
Conditional Execution in General | p. 86 |
if Statements | p. 87 |
switch Statements | p. 92 |
Iteration in General | p. 94 |
for loops | p. 95 |
while loops | p. 98 |
Engineering Example-computing Liquid Levels | p. 101 |
Functions | p. 111 |
Concepts: Abstraction and Encapsulation | p. 112 |
Black Box View of a Function | p. 112 |
MATLAB Implementation | p. 113 |
Engineering Example-Measuring a Solid Object | p. 119 |
Character Strings | p. 127 |
Character String Concepts; Mapping Casting, Tokens and Delimiting | p. 128 |
MATLAB Implementation | p. 129 |
Format Conversion Functions | p. 131 |
Character String Operations | p. 134 |
Arrays of Strings | p. 137 |
Engineering Example-Encryption | p. 138 |
Cell Arrays and Structures | p. 147 |
Concept Collecting Dissimilar Objects | p. 148 |
Cell Arrays | p. 148 |
MATLAB Structures | p. 153 |
Structure Arrays | p. 156 |
Engineering Example-Assembling a Structure | p. 162 |
File Input and Output | p. 173 |
Concept | p. 174 |
MATLAB Workspace I/O | p. 174 |
High-Level File I/O Functions | p. 175 |
Lower-Level File I/O | p. 180 |
Engineering Example-Spreadsheet Data | p. 184 |
Recursion | p. 191 |
Concept The Activation Stack | p. 192 |
Recursion Defined | p. 193 |
Implementing a Recursive Function in MATLAB | p. 194 |
Exceptions | p. 196 |
Wrapper Functions | p. 200 |
Tail Recursion | p. 203 |
Murual Resursion | p. 205 |
Generative Recursion | p. 205 |
Examples of Recursion | p. 205 |
Engineering Example-Robot Arm Motion | p. 211 |
Principles of Problem Solving | p. 219 |
Solving Simple Problems | p. 220 |
Assembling Solution Steps | p. 220 |
Summary of Operations | p. 220 |
Solving Larger Problems | p. 236 |
Engineering Example-Processing Geopolitical Data | p. 238 |
Plotting | p. 247 |
Plotting | p. 248 |
2-D Plotting | p. 252 |
3-D Plotting | p. 258 |
Surface Plots | p. 261 |
Interacting with Plotted Data | p. 279 |
Engineering Example-Visualizing Geographic Data | p. 283 |
Matrices | p. 293 |
Concept Behavioral Abstraction | p. 294 |
Matrix Operations | p. 294 |
MATLAB Implementation | p. 297 |
Rotating Coordinates | p. 300 |
Solving Simultaneous Linear Equations | p. 307 |
Engineering Examples | p. 311 |
Images | p. 319 |
NAture of an Image | p. 320 |
Image Types | p. 321 |
Reading, Displaying, and Writing Images | p. 323 |
Operating on Images | p. 323 |
Engineering Example-Detecting Edges | p. 339 |
Processing Sound | p. 347 |
The Physics of Sound | p. 348 |
Recording and Playback | p. 348 |
MATLAB Implementation | p. 349 |
Time Domain Operations | p. 350 |
The Fast Fourier Transform | p. 359 |
Frequency Domain Operations | p. 364 |
Engineering Example-Oil Rig Structural Integrity | p. 371 |
Numerical Methods | p. 379 |
Interpolation | p. 380 |
Curve Fitting | p. 384 |
Numerical Integration | p. 390 |
Numerical Differentiation | p. 394 |
Engineering Example-Analyzing Rocket Data | p. 397 |
Engineering Example-Cleaning up Images | p. 402 |
Sorting | p. 411 |
Measuring Algorithm Cost | p. 412 |
Algorithms for Sorting Data | p. 415 |
Performance Analysis | p. 425 |
Applications of Sorting Algorithms | p. 426 |
Engineering Examples-A Selection of Countries | p. 430 |
Searching Graphs (online) | |
Object-Oriented Programming (online) | |
Linked Lists (online) | |
Binary Trees (online) | |
N-ary Trees and Graphs (online) | |
The Cost of Computing (online) | |
Appendices | |
MATLAB Special Characters, Reserved Words, and Symbols A-I | |
The ASCII Character Set B-I | |
Internal Number Representation C-I | |
Web Reference Materials (online) | |
Answers to True or False and Fill in the Blanks (online) | |
Index I-I | |
Table of Contents provided by Ingram. All Rights Reserved. |