Science Media
Saturday, May 23, 2020
สาบัญ เนื้อหา
Contents
1 Introduction to Scilab 5
1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2 Login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2.1 Windows Login . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2.2 Mac Login . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.3 Talking between Scilab and the Editor . . . . . . . . . . . . . . 6
1.4 Basic Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.5 Linear Algebra . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.6 Loops and Conditionals . . . . . . . . . . . . . . . . . . . . . . . . 9
1.7 Help in Scilab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.7.1 The Help Command . . . . . . . . . . . . . . . . . . . . . 10
1.7.2 The Help Window . . . . . . . . . . . . . . . . . . . . . . 11
1.8 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.9 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2 Matrix Calculations 14
2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.2 Matrices and Vectors . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.2.1 Solving Equations. . . . . . . . . . . . . . . . . . . . . . . 14
2.2.2 Matrices and Vectors. . . . . . . . . . . . . . . . . . . . . . 16
2.2.3 Creating Matrices . . . . . . . . . . . . . . . . . . . . . . . 17
2.2.4 Systems of Equations . . . . . . . . . . . . . . . . . . . . . 18
3 Data and Function Plots 20
3 Data and Function Plots 20
3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.2 Plotting Lines and Data . . . . . . . . . . . . . . . . . . . . . . . 20
3.2.1 Adding a Line . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.2.2 Hints for Good Graphs . . . . . . . . . . . . . . . . . . . . 23
3.3 Graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.3.1 Function Plotting . . . . . . . . . . . . . . . . . . . . . . . 25
3.3.2 Component Arithmetic . . . . . . . . . . . . . . . . . . . . 25
3.3.3 Printing Graphs . . . . . . . . . . . . . . . . . . . . . . . . 26
3.3.4 Saving Graphs . . . . . . . . . . . . . . . . . . . . . . . . . 27
Computational Science, Scilab Tutorials
Computational Science, Scilab Tutorials
Subscribe to:
Posts (Atom)