The Castaway

The Castaway

  • Submitted By: adarshprakash
  • Date Submitted: 09/26/2013 12:08 PM
  • Category: English
  • Words: 65978
  • Page: 264
  • Views: 138

Contents
1 Engineering Problem Solving 1.1 1.2 1.3 1.4 Problem-Solving Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Problem Solving Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Computing Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 4 8

Computing Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 14

2 Matlab Technical Computing Environment 2.1 2.2 2.3 2.4 2.5 2.6

Workspace, Windows, and Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Scalar Mathematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

Basic Mathematical Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Computational Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Display Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Accuracy and Precision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 37

3 Files and File Management 3.1 3.2 3.3 3.4 3.5

File Management Deļ¬nitions and Commands . . . . . . . . . . . . . . . . . . . . . . 37 Saving and Restoring Matlab Information . . . . . . . . . . . . . . . . . . . . . . . . 39 Script M-Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Errors and Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Matlab Search Path, Path Management, and Startup . . . . . . . . . . . . . . . . . . 49

i

4 Trigonometry and Complex Numbers 4.1 4.2 4.3

51

Trigonometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Complex Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 Two-Dimensional Plotting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 81

5 Arrays and Array Operations 5.1 5.2 5.3

Vector...

Similar Essays