| |
| |
| |
Introduction to Computers and Programming | |
| |
| |
| |
Background | |
| |
| |
| |
History of Computer Architectures | |
| |
| |
| |
Computing Systems Today | |
| |
| |
| |
Executing a MATLAB Program | |
| |
| |
| |
Problem Solving | |
| |
| |
| |
Getting Start with MATLAB | |
| |
| |
| |
Programming Language Background | |
| |
| |
| |
Basic Data Manipulation | |
| |
| |
| |
The MATLAB User interface | |
| |
| |
| |
Scripts | |
| |
| |
| |
Engineering Example- Spacecraft Launch | |
| |
| |
| |
Vectors and Arrays | |
| |
| |
| |
Concept: Using Built-in Functions | |
| |
| |
| |
Concept Data Collections | |
| |
| |
| |
MATLAB Vectors | |
| |
| |
| |
Engineering Example-Forces and Moments | |
| |
| |
| |
MATLAB Arrays | |
| |
| |
| |
Engineering Example- Computing Soil Volume | |
| |
| |
| |
Execution Control | |
| |
| |
| |
Concept Code Blocks | |
| |
| |
| |
Conditional Execution in General | |
| |
| |
| |
if Statements | |
| |
| |
| |
switch Statements | |
| |
| |
| |
Iteration in General | |
| |
| |
| |
for loops | |
| |
| |
| |
while loops | |
| |
| |
| |
Engineering Example-computing Liquid Levels | |
| |
| |
| |
Functions | |
| |
| |
| |
Concepts: Abstraction and Encapsulation | |
| |
| |
| |
Black Box View of a Function | |
| |
| |
| |
MATLAB Implementation | |
| |
| |
| |
Engineering Example-Measuring a Solid Object | |
| |
| |
| |
Character Strings | |
| |
| |
| |
Character String Concepts; Mapping Casting, Tokens and Delimiting | |
| |
| |
| |
MATLAB Implementation | |
| |
| |
| |
Format Conversion Functions | |
| |
| |
| |
Character String Operations | |
| |
| |
| |
Arrays of Strings | |
| |
| |
| |
Engineering Example-Encryption | |
| |
| |
| |
Cell Arrays and Structures | |
| |
| |
| |
Concept Collecting Dissimilar Objects | |
| |
| |
| |
Cell Arrays | |
| |
| |
| |
MATLAB Structures | |
| |
| |
| |
Structure Arrays | |
| |
| |
| |
Engineering Example-Assembling a Structure | |
| |
| |
| |
File Input and Output | |
| |
| |
| |
Concept | |
| |
| |
| |
MATLAB Workspace I/O | |
| |
| |
| |
High-Level File I/O Functions | |
| |
| |
| |
Lower-Level File I/O | |
| |
| |
| |
Engineering Example-Spreadsheet Data | |
| |
| |
| |
Recursion | |
| |
| |
| |
Concept The Activation Stack | |
| |
| |
| |
Recursion Defined | |
| |
| |
| |
Implementing a Recursive Function in MATLAB | |
| |
| |
| |
Exceptions | |
| |
| |
| |
Wrapper Functions | |
| |
| |
| |
Tail Recursion | |
| |
| |
| |
Murual Resursion | |
| |
| |
| |
Generative Recursion | |
| |
| |
| |
Examples of Recursion | |
| |
| |
| |
Engineering Example-Robot Arm Motion | |
| |
| |
| |
Principles of Problem Solving | |
| |
| |
| |
Solving Simple Problems | |
| |
| |
| |
Assembling Solution Steps | |
| |
| |
| |
Summary of Operations | |
| |
| |
| |
Solving Larger Problems | |
| |
| |
| |
Engineering Example-Processing Geopolitical Data | |
| |
| |
| |
Plotting | |
| |
| |
| |
Plotting | |
| |
| |
| |
2-D Plotting | |
| |
| |
| |
3-D Plotting | |
| |
| |
| |
Surface Plots | |
| |
| |
| |
Interacting with Plotted Data | |
| |
| |
| |
Engineering Example-Visualizing Geographic Data | |
| |
| |
| |
Matrices | |
| |
| |
| |
Concept Behavioral Abstraction | |
| |
| |
| |
Matrix Operations | |
| |
| |
| |
MATLAB Implementation | |
| |
| |
| |
Rotating Coordinates | |
| |
| |
| |
Solving Simultaneous Linear Equations | |
| |
| |
| |
Engineering Examples | |
| |
| |
| |
Images | |
| |
| |
| |
NAture of an Image | |
| |
| |
| |
Image Types | |
| |
| |
| |
Reading, Displaying, and Writing Images | |
| |
| |
| |
Operating on Images | |
| |
| |
| |
Engineering Example-Detecting Edges | |
| |
| |
| |
Processing Sound | |
| |
| |
| |
The Physics of Sound | |
| |
| |
| |
Recording and Playback | |
| |
| |
| |
MATLAB Implementation | |
| |
| |
| |
Time Domain Operations | |
| |
| |
| |
The Fast Fourier Transform | |
| |
| |
| |
Frequency Domain Operations | |
| |
| |
| |
Engineering Example-Oil Rig Structural Integrity | |
| |
| |
| |
Numerical Methods | |
| |
| |
| |
Interpolation | |
| |
| |
| |
Curve Fitting | |
| |
| |
| |
Numerical Integration | |
| |
| |
| |
Numerical Differentiation | |
| |
| |
| |
Engineering Example-Analyzing Rocket Data | |
| |
| |
| |
Engineering Example-Cleaning up Images | |
| |
| |
| |
Sorting | |
| |
| |
| |
Measuring Algorithm Cost | |
| |
| |
| |
Algorithms for Sorting Data | |
| |
| |
| |
Performance Analysis | |
| |
| |
| |
Applications of Sorting Algorithms | |
| |
| |
| |
Engineering Examples-A Selection of Countries | |
| |
| |
| |
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 | |