Table of Contents
Preface................................................................................................................................ii
Introduction........................................................................................................................1
Tutorial 1 – Scilab Environment.......................................................................................3
Exercise 1 – Scilab Environment......................................................................................5
Tutorial 2 – The Workspace and Working Directory................................................6
Exercise 2 – The Workspace and Working Directory...............................................8
Tutorial 3 – Creating Matrices and Some Simple Matrix Operations.................9
Exercise 3 – Creating Matrices and Some Simple Matrix Operations..............12
Tutorial 4 – Sub-matrices.................................................................................................13
Exercise 4 – Sub-matrices.................................................................................................15
Tutorial 5 – Statistics..........................................................................................................16
Tutorial 6 – Working with Polynomials......................................................................17
Exercise 6 – Working with Polynomials......................................................................20
Tutorial 7 – Plotting Graphs............................................................................................21
Tutorial 8 – Plotting 3D Graphs......................................................................................24
Tutorial 9 – Scilab Programming Language..............................................................26
Tutorial 10 – Script Files and Function Files.............................................................30
Tutorial 11 – Functions in Scilab...................................................................................32
Tutorial 12 – File Operations..........................................................................................35
Tutorial 13 – Polynomial Curve Fitting.......................................................................37
Tutorial 14 – Reading Microsoft Excel Files..............................................................40
Tutorial 15 – Some Miscellaneous Commands.........................................................42
Tutorial 16 – Data Structures..........................................................................................43
Tutorial 17 – Directed Graphs........................................................................................47
Tutorial 18 – Principal Stresses.....................................................................................51