Toc
Toc
Toc
Part 1 Essentials 1
CHAPTER 1 Introduction ........................................................... 3
1.1 Using MATLAB ................................................... 5
1.1.1 Arithmetic................................................. 5
1.1.2 Variables................................................... 7
1.1.3 Mathematical functions .............................. 8
1.1.4 Functions and commands ........................... 9
1.1.5 Vectors ..................................................... 9
1.1.6 Linear equations ........................................ 11
1.1.7 Demo........................................................ 12
1.1.8 Help ......................................................... 12
1.1.9 Additional features .................................... 13
1.2 The MATLAB Desktop .......................................... 15
1.3 Sample Program .................................................. 16
1.3.1 Cut and paste ............................................ 16
1.3.2 Saving a program: script files ...................... 18
1.3.3 A program in action.................................... 19
Summary ................................................................... 21
Chapter Exercises ....................................................... 21