You are on page 1of 2

Spoken Tutorial on Scilab for Windows Users

Spoken Tutorial Team IIT Bombay


The procedure to practise 1. You are given a set of spoken tutorials and les either in a CD or already copied on your Desktop. 2. You will typically do one tutorial at a time. 3. The tutorials are numbered from 0 to 9. 4. Follow the tutorials in sequence for a better understanding. Please nd out from the workshop co-ordinator whether Scilab is already installled. If so please skip the Section 1. 5. Pause the tutorial when mentioned in the video and attempt any one assignment problem given in the video and/or on the assignment sheet given to you. 6. At 5:34 - The diary() command stores the Scilab session in a le after you issue the command and not before that. 7. At 5:34 - Change the directory to Destination where you have write access, preferably change it to Desktop before issuing the diary() command. 8. At 6:00 - Pause the tutorial and attempt the assignment problem given in the video and/or on the assignment sheet given to you. 9. At 7:49 - In the answer D-17 denotes 1017

Scilab Installation (Windows): 3

Tutorial required: 01-Installation-Windows.wmv In this tutorial you will learn how to install Scilab on Windows Operating System.

Vector Operations:

Tutorial required: 03-Vector-Operations.wmv This tutorial covers how to dene vectors and matri1. Please locate the folder Scilab Workshop that ces in Scilab, and how to perform some basic arithis available on your Desktop, this folder conmetic operations on vectors. tains all the Scilab tutorials. 2. Please locate the tutorial 01-Installation-Windows.wmv, open it using VLC Media Player and listen to the tutorial. 3. Please follow the tutorial as shown in the video. 1. Open Scilab as mentioned in Section-2. 2. Right click on 03-Vector-Operations.wmv ,click on Open with option and select VLC Media Player to play the tutorial. 3. Please follow the tutorial and reproduce all the commands as shown in the video. 4. Pause the tutorial when mentioned in the video and attempt any one assignment problem given in the video and/or on the assignment sheet given to you.

Getting Started with Scilab:

Tutorial required: 02-Getting-Started.wmv In this tutorial you will learn about some of the very basic functionalities of Scilab.

Matrix Operations:

1. Double Click on the Scilab Shortcut icon on Tutorial required: 04-Matrix-Operations.wmv your Desktop to launch Scilab. In this tutorial you will learn some of the most basic 2. This will open Scilab console window on your but frequently used arithmetic operations on matricomputer to simultaneously practise the com- ces. The main motivation of this tutorial is to give mands. you a head start about using vectors and matrices 3. Right click on 02-Getting-Started.wmv in Scilab. ,click on Open with option and select VLC 1. Open Scilab as mentioned in Section-2, point-1 Media Player to play the tutorial. 2. Open 04-Matrix-Operations.wmv as ex4. Follow the tutorial and reproduce all the complained in Section-2, point-3 mands on your Scilab Console as shown in the video. 3. Follow Points-4 and 5 in Section-2

4. At 1:55 - Notice the type of bracket used in the command, its is round bracket and not the square bracket.. 5. At 11:18 - Matrix A represents a matrix of coecients of x1, x2, x3 in the equations. 6. At 11:46 - Matrix b represnts a matrix of constants in the equations.

1. Open Scilab as mentioned in Section-2, point-1 2. Open 07-Iterations-mov.mov as explained in Section-2, point-3 3. Follow Points-4 and 5 in Section-2

Plotting 2D Graphs:

Tutorial required: 08-Plotting2dGraphs-mov.mov

Scripts and Functions:

In this tutorial we will learn about the in-built funcTutorial required:05-Scripts-and-Functions.wmv tions like linspace(), plot(), plot2d(). We will also demonstrate how to change the properties of gures In this tutorial you will learn how to write script using various commands. les (.sci les) and function les (.sce les). Also 1. Open Scilab as mentioned in Section-2, point-1 we will see how to load and execute user-dened 2. Open 08-Plotting2dGraphs-mov.mov as exfunctions in the Scilab console. plained in Section-2, point-3 1. Open Scilab as mentioned in Section-2, point-1 3. Follow Points-4 and 5 in Section-2 2. Open 05-Scripts-and-Functions.wmv as explained in Section-2, point-3 3. Follow Points-4 and 5 in Section-2

4. At 2:10 - Pause the tutorial, open Scilab editor ,type the commands in the editor yourself and Tutorial required: 09-odes.mov save the le as helloworld.sce This tutorial is designed to familiarize the partic5. At 3:25 - Type pwd to check the present ipants with solving ordinary dierential equations working directory; change the directory using the Scilab procedure, ode. using Change Directory shortcut icon to 1. Open Scilab as mentioned in Section-2, point-1 the directory where you have saved the 2. Open 09-odes.mov as explained in Section-2, helloworld.sce le before using the exec point-3 command. 3. Follow Points-4 and 5 in Section-2

Ordinary tions:

Dierential

Equa-

Conditional Branching: 10 Polynomials:


Tutorial required: 10-polynomials.mov In this tutorial we will see the use of Scilab to create polynomials, nd their roots and perform operations on them such as addition, subtraction, multiplication, division, simplication, etc. 1. Open Scilab as mentioned in Section-2, point-1 2. Open 10-polynomials.mov Section-2, point-3. as explained in

Tutorial required: 06-Conditional-Branching-mov.mov In this tutorial we will discuss two types of Conditional constructs in Scilab, which are, the if-thenelse construct and the select-case conditional construct. 1. Open Scilab as mentioned in Section-2, point-1 2. Open 06-Conditional-Branching-mov.mov as explained in Section-2, point-3 3. Follow Points-4 and 5 in Section-2

3. Follow Points-4 and 5 in Section-2

Iterations:

11

Why Scilab:

Tutorial required: 00-Why-Scilab.wmv Tutorial required: 07-Iterations-mov.mov In this tutorial we will discuss about the for-loop and In this tutorial you will get an overview about the capabilities of Scilab and the benets of using Scilab. the while-loop, used for iterative calulations.