Anda di halaman 1dari 2

Contents

Thanks iii
Preface v
Table of Contents vii
1 Matlab: Introduction 1
1.1 Matlab: Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Matlab: Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.3 Matlab: Command Window Examples . . . . . . . . . . . . . . . 3
1.4 Matlab: Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.5 Matlab: Headers . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.6 Matlab: Editor Tips . . . . . . . . . . . . . . . . . . . . . . . . . 5
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2 Matlab: Matrices 9
2.1 Matlab: Matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.2 Matlab: Using Matrices . . . . . . . . . . . . . . . . . . . . . . . 12
2.3 Matlab: Matrix Operations . . . . . . . . . . . . . . . . . . . . . 14
2.4 Matlab: Common Matrix Functions . . . . . . . . . . . . . . . . 15
2.5 Matlab: Systems of Equations . . . . . . . . . . . . . . . . . . . . 20
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3 Matlab: Functions 24
3.1 Matlab: Built-In Functions . . . . . . . . . . . . . . . . . . . . . 24
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4 Matlab: Graphics 30
4.1 Matlab: Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5 Matlab: User Defined Functions 37
5.1 Matlab: User-Defined Functions . . . . . . . . . . . . . . . . . . . 37
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Contents
6 Matlab: Input/Output 43
6.1 Matlab: Input Commands . . . . . . . . . . . . . . . . . . . . . . 43
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
7 Matlab: Programming Structures 51
7.1 Matlab: Relational Operators . . . . . . . . . . . . . . . . . . . . 51
7.2 Matlab: Logical Operators . . . . . . . . . . . . . . . . . . . . . . 51
7.3 Matlab: if and switch commands . . . . . . . . . . . . . . . . 53
7.4 Matlab: for and while Loops . . . . . . . . . . . . . . . . . . . 54
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
8 Matlab: Applications 58
8.1 Matlab: Numerical Methods . . . . . . . . . . . . . . . . . . . . . 58
8.2 Matlab Traveling Salesman . . . . . . . . . . . . . . . . . . . . . 60
9 Matlab: Curve Fitting 63
9.1 Matlab: Curve Fitting . . . . . . . . . . . . . . . . . . . . . . . . 63
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
10 Mathcad: Introduction 70
10.1 Mathcad: Introduction . . . . . . . . . . . . . . . . . . . . . . . . 70
11 Mathcad: Entering Equations 72
11.1 Mathcad: Equations . . . . . . . . . . . . . . . . . . . . . . . . . 72
11.2 Mathcad: Editing Equations . . . . . . . . . . . . . . . . . . . . 77
11.3 Mathcad: Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
12 Mathcad: Given/Find and Solve 82
12.1 Mathcad: Given/Find Blocks . . . . . . . . . . . . . . . . . . . . 82
12.2 Mathcad: Solve Blocks . . . . . . . . . . . . . . . . . . . . . . . . 84
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
13 Mathcad: Functions 87
13.1 Mathcad: Built-in Functions . . . . . . . . . . . . . . . . . . . . 87
13.2 Mathcad: User-Defined Functions . . . . . . . . . . . . . . . . . . 88
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
14 Mathcad: Matrices 91

14.1 Mathcad: Matrix Definition . . . . . . . . . . . . . . . . . . . . . 91


14.2 Mathcad: Editing Matrices . . . . . . . . . . . . . . . . . . . . . 93
14.3 Mathcad: Referencing Parts of Matrices . . . . . . . . . . . . . . 95
14.4 Mathcad: Solving Systems of Linear Equations . . . . . . . . . . 97
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
viii
CONTENTS
15 Mathcad: Graphing 103
15.1 Mathcad: Graphing . . . . . . . . . . . . . . . . . . . . . . . . . 103
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
16 Mathcad: Curve Fitting 111
16.1 Mathcad: Curve Fitting . . . . . . . . . . . . . . . . . . . . . . . 111
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
17 Mathcad: Calculus and Symbolics 118
17.1 Mathcad: Calculus . . . . . . . . . . . . . . . . . . . . . . . . . . 118
17.2 Mathcad: Symbolics . . . . . . . . . . . . . . . . . . . . . . . . . 119
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Appendix 123
Index 124

Anda mungkin juga menyukai