Difference between revisions of "Scilab/C2/Vector-Operations/English-timed"

From Script | Spoken-Tutorial
Jump to: navigation, search
Line 1: Line 1:
 
{| border=1
 
{| border=1
  
!Time
+
|'''Time'''
! Narration
+
|''' Narration'''
  
 
|-
 
|-
  
| 00.01
+
| 00:01
  
 
|| Welcome to the spoken tutorial on Vector Operations
 
|| Welcome to the spoken tutorial on Vector Operations
Line 12: Line 12:
 
|-
 
|-
  
| 00.07
+
| 00:07
  
 
|At the end of this spoken tutorial you will be able to,
 
|At the end of this spoken tutorial you will be able to,
Line 18: Line 18:
 
|-
 
|-
  
| 00.11
+
| 00:11
  
 
| | Define a vector.
 
| | Define a vector.
Line 24: Line 24:
 
|-
 
|-
  
| 00.13
+
| 00:13
  
 
| | Calculate length of a vector.
 
| | Calculate length of a vector.
Line 30: Line 30:
 
|-
 
|-
  
| 00.15
+
| 00:15
  
 
| | Perform mathematical operations on Vectors such as addition,subtraction and multiplication.
 
| | Perform mathematical operations on Vectors such as addition,subtraction and multiplication.
Line 36: Line 36:
 
|-
 
|-
  
| 00.23
+
| 00:23
  
 
| Define a matrix.
 
| Define a matrix.
Line 42: Line 42:
 
|-
 
|-
  
| 00.25
+
| 00:25
  
 
|Calculate size of a matrix.
 
|Calculate size of a matrix.
Line 48: Line 48:
 
|-
 
|-
  
| 00.28
+
| 00:28
  
 
| Perform mathematical operations on Matrices such as addition, subtraction and multiplication.
 
| Perform mathematical operations on Matrices such as addition, subtraction and multiplication.
Line 54: Line 54:
 
|-
 
|-
  
| 00.36
+
| 00:36
  
 
| The Pre-requisites are Scilab should be installed on your system.
 
| The Pre-requisites are Scilab should be installed on your system.
Line 60: Line 60:
 
|-
 
|-
  
| 00.41
+
| 00:41
  
 
| | You should have listened to the Spoken Tutorial on Getting started with Scilab.
 
| | You should have listened to the Spoken Tutorial on Getting started with Scilab.
Line 66: Line 66:
 
|-
 
|-
  
| 00.46
+
| 00:46
  
 
|  You should have Basic knowledge about Vectors and Matrices.
 
|  You should have Basic knowledge about Vectors and Matrices.
Line 72: Line 72:
 
|-
 
|-
  
| 00.50
+
| 00:50
  
 
| I am using Windows 7 operating system and Scilab 5.2.2 for demonstration.
 
| I am using Windows 7 operating system and Scilab 5.2.2 for demonstration.
Line 78: Line 78:
 
|-
 
|-
  
| 00.58
+
| 00:58
  
 
| | Click on Scilab shortcut icon on your Desktop to launch Scilab.
 
| | Click on Scilab shortcut icon on your Desktop to launch Scilab.
Line 84: Line 84:
 
|-
 
|-
  
| 01.03
+
| 01:03
  
 
| | This will open the Scilab console window.  
 
| | This will open the Scilab console window.  
Line 90: Line 90:
 
|-
 
|-
  
| 01.06
+
| 01:06
  
 
| Notice that the cursor is on the command prompt.
 
| Notice that the cursor is on the command prompt.
Line 96: Line 96:
 
|-
 
|-
  
| 01.10
+
| 01:10
  
 
|  I suggest that you practice this tutorial in Scilab simultaneously while pausing the video at regular intervals of time.
 
|  I suggest that you practice this tutorial in Scilab simultaneously while pausing the video at regular intervals of time.
Line 102: Line 102:
 
|-
 
|-
  
| 01.19
+
| 01:19
  
 
| | Let us start by defining a vector.
 
| | Let us start by defining a vector.
Line 108: Line 108:
 
|-
 
|-
  
| 01.22
+
| 01:22
  
 
| | This can be done in two ways:
 
| | This can be done in two ways:
Line 114: Line 114:
 
|-
 
|-
  
| 01.24
+
| 01:24
  
 
| By using spaces as p is equal to open square bracket one space 2 space 3 close the square bracket and press enter.
 
| By using spaces as p is equal to open square bracket one space 2 space 3 close the square bracket and press enter.
Line 120: Line 120:
 
|-
 
|-
  
| 01.37
+
| 01:37
  
 
| or using commas as q is equal to open square bracket two comma three comma four close the square bracket and press enter.
 
| or using commas as q is equal to open square bracket two comma three comma four close the square bracket and press enter.
Line 126: Line 126:
 
|-
 
|-
  
| 01.53
+
| 01:53
  
 
| | We can find the length of a vector p by the command length of p and press enter
 
| | We can find the length of a vector p by the command length of p and press enter
Line 132: Line 132:
 
|-
 
|-
  
| 02.03
+
| 02:03
  
 
| | We can perform various mathematical operations on vectors such as
 
| | We can perform various mathematical operations on vectors such as
Line 138: Line 138:
 
|-
 
|-
  
| 02.08
+
| 02:08
  
 
| | Addition of two vectors
 
| | Addition of two vectors
Line 144: Line 144:
 
|-
 
|-
  
| 02.11
+
| 02:11
  
 
| | Substraction of two vectors and so on.
 
| | Substraction of two vectors and so on.
Line 150: Line 150:
 
|-
 
|-
  
| 02.14
+
| 02:14
  
 
| | Transpose of a vector can be found by using apostrophe (also known as single-quote).
 
| | Transpose of a vector can be found by using apostrophe (also known as single-quote).
 
 
  
 
|-
 
|-
  
| 02.21
+
| 02:21
  
 
| p transpose is as shown
 
| p transpose is as shown
Line 164: Line 162:
 
|-
 
|-
  
| 02.27
+
| 02:27
  
 
| | We can calculate p-transpose times q:
 
| | We can calculate p-transpose times q:
Line 170: Line 168:
 
|-
 
|-
  
| 02.34
+
| 02:34
  
 
| | The command p times q-transpose gives a scalar:
 
| | The command p times q-transpose gives a scalar:
Line 176: Line 174:
 
|-
 
|-
  
| 02.43
+
| 02:43
  
 
| | Please pause the tutorial now and attempt exercise number one given with the video
 
| | Please pause the tutorial now and attempt exercise number one given with the video
Line 182: Line 180:
 
|-
 
|-
  
| 02.50
+
| 02:50
  
 
| | Now we will see how to define a matrix.
 
| | Now we will see how to define a matrix.
Line 188: Line 186:
 
|-
 
|-
  
| 02.56
+
| 02:56
  
 
| | Elements of a row of a matrix, can be defined using spaces or commas similar to that shown for a vector
 
| | Elements of a row of a matrix, can be defined using spaces or commas similar to that shown for a vector
Line 194: Line 192:
 
|-
 
|-
  
| 03.04
+
| 03:04
  
 
|For example,let us define a 2 by 3 matrix P by typing captital P is equal to open square bracket 1 space 2 space 3 semicolon  
 
|For example,let us define a 2 by 3 matrix P by typing captital P is equal to open square bracket 1 space 2 space 3 semicolon  
Line 200: Line 198:
 
|-
 
|-
  
| 03.20
+
| 03:20
  
 
|4 space five space 6 close the square bracket and press enter.
 
|4 space five space 6 close the square bracket and press enter.
 
  
 
|-
 
|-
  
| 03.27
+
| 03:27
  
 
| Note that Semicolon is used for defining the next row of the matrix.
 
| Note that Semicolon is used for defining the next row of the matrix.
Line 213: Line 210:
 
|-
 
|-
  
| 03.32
+
| 03:32
  
 
| | Recall that Scilab is case sensitive.
 
| | Recall that Scilab is case sensitive.
Line 219: Line 216:
 
|-
 
|-
  
| 03.34
+
| 03:34
  
 
| | Here variable P used to define matrix is in upper case.
 
| | Here variable P used to define matrix is in upper case.
Line 225: Line 222:
 
|-
 
|-
  
| 03.40
+
| 03:40
  
 
| | Which is different from small p that was a vector.
 
| | Which is different from small p that was a vector.
Line 231: Line 228:
 
|-
 
|-
  
| 03.44
+
| 03:44
  
 
| | Would you want to check what small p is at this point?
 
| | Would you want to check what small p is at this point?
Line 237: Line 234:
 
|-
 
|-
  
| 03.48
+
| 03:48
  
 
| We will now see how to find the size of a Matrix using the “size” command.
 
| We will now see how to find the size of a Matrix using the “size” command.
Line 243: Line 240:
 
|-
 
|-
  
| 03.53
+
| 03:53
  
 
| for this type open square bracket row comma column close the sqaure bracket is equal to size of capital p which is matrix and press enter.
 
| for this type open square bracket row comma column close the sqaure bracket is equal to size of capital p which is matrix and press enter.
Line 249: Line 246:
 
|-
 
|-
  
| 04.10
+
| 04:10
  
 
| You get the following output.
 
| You get the following output.
Line 255: Line 252:
 
|-
 
|-
  
| 04.17
+
| 04:17
  
 
| Note that the length command will give the total number of elements in the matrix as you see.
 
| Note that the length command will give the total number of elements in the matrix as you see.
Line 261: Line 258:
 
|-
 
|-
  
| 04.27
+
| 04:27
  
 
| | The transpose command works for the matrices as well as shown here :
 
| | The transpose command works for the matrices as well as shown here :
Line 267: Line 264:
 
|-
 
|-
  
| 04.34
+
| 04:34
  
 
| p transpose gives the transpose of matrix p.
 
| p transpose gives the transpose of matrix p.
Line 273: Line 270:
 
|-
 
|-
  
| 04.41
+
| 04:41
  
 
| Let us now define a 2 by 3 matrix Q:
 
| Let us now define a 2 by 3 matrix Q:
Line 279: Line 276:
 
|-
 
|-
  
| 04.45
+
| 04:45
  
 
| Capital q is equal to open square bracket one space five space three semicolon to enter into the next row  
 
| Capital q is equal to open square bracket one space five space three semicolon to enter into the next row  
Line 285: Line 282:
 
|-
 
|-
  
| 04.56
+
| 04:56
  
 
| Two space four space eight close the square bracket and press enter.
 
| Two space four space eight close the square bracket and press enter.
Line 291: Line 288:
 
|-
 
|-
  
| 05.03
+
| 05:03
  
 
| | Let us also recall P once more:
 
| | Let us also recall P once more:
Line 297: Line 294:
 
|-
 
|-
  
| 05.08
+
| 05:08
  
 
| | We can carry out calculations involving P and Q, just as we do in mathematics.
 
| | We can carry out calculations involving P and Q, just as we do in mathematics.
Line 303: Line 300:
 
|-
 
|-
  
| 05.14
+
| 05:14
  
 
| | For example, let us calculate E is equal to 2 times p plus 3 times q and press enter:
 
| | For example, let us calculate E is equal to 2 times p plus 3 times q and press enter:
Line 309: Line 306:
 
|-
 
|-
  
| 05.29
+
| 05:29
  
 
| | You may want to verify whether these calculations are correct.
 
| | You may want to verify whether these calculations are correct.
Line 315: Line 312:
 
|-
 
|-
  
| 05.33
+
| 05:33
  
 
| | Please pause the tutorial now and attempt exercise number two given with the video
 
| | Please pause the tutorial now and attempt exercise number two given with the video
Line 321: Line 318:
 
|-
 
|-
  
|05.44
+
|05:44
  
 
|In this tutorial, we have learnt to
 
|In this tutorial, we have learnt to
Line 327: Line 324:
 
|-
 
|-
  
| 05.47
+
| 05:47
  
 
| | Define a vector using spaces or commas.
 
| | Define a vector using spaces or commas.
Line 333: Line 330:
 
|-
 
|-
  
|05.50
+
|05:50
  
 
| | Calculate length of a vector using the length() function.
 
| | Calculate length of a vector using the length() function.
Line 339: Line 336:
 
|-
 
|-
  
| 05.54
+
| 05:54
  
 
| | Find the transpose of vector or matrix using apostrophe.
 
| | Find the transpose of vector or matrix using apostrophe.
Line 345: Line 342:
 
|-
 
|-
  
| 05.59
+
| 05:59
  
 
| | Define a matrix by using space or comma to separate the columns and semicolon to separate the rows.
 
| | Define a matrix by using space or comma to separate the columns and semicolon to separate the rows.
 
  
 
|-
 
|-
  
| 06.07
+
| 06:07
  
 
| | Find size of a matrix using size() function.
 
| | Find size of a matrix using size() function.
Line 358: Line 354:
 
|-
 
|-
  
|06.11
+
|06:11
  
 
| | This spoken tutorial has been created by the Free and Open Source Software in Science and Engineering Education (FOSSEE).
 
| | This spoken tutorial has been created by the Free and Open Source Software in Science and Engineering Education (FOSSEE).
Line 364: Line 360:
 
|-
 
|-
  
| 06.18
+
| 06:18
  
 
| | More information on the FOSSEE project could be obtained from fossee.in or scilab.in
 
| | More information on the FOSSEE project could be obtained from fossee.in or scilab.in
Line 370: Line 366:
 
|-
 
|-
  
| 06.28
+
| 06:28
  
 
| | Supported by the National Mission on Eduction through ICT, MHRD, Government of India.
 
| | Supported by the National Mission on Eduction through ICT, MHRD, Government of India.
Line 376: Line 372:
 
|-
 
|-
  
| 06.33
+
| 06:33
  
 
| | For more information, visit:spoken hyphen tutorial dot org slash NMEICT hyphen intro.
 
| | For more information, visit:spoken hyphen tutorial dot org slash NMEICT hyphen intro.
Line 382: Line 378:
 
|-
 
|-
  
| 06.43
+
| 06:43
  
 
| | This is Anuradha Amrutkar signing off.
 
| | This is Anuradha Amrutkar signing off.
Line 388: Line 384:
 
|-
 
|-
  
| 06.46
+
| 06:46
  
 
| | Thank you for joining us. Good bye
 
| | Thank you for joining us. Good bye
  
 
|}
 
|}

Revision as of 16:30, 10 July 2014

Time Narration
00:01 Welcome to the spoken tutorial on Vector Operations
00:07 At the end of this spoken tutorial you will be able to,
00:11 Define a vector.
00:13 Calculate length of a vector.
00:15 Perform mathematical operations on Vectors such as addition,subtraction and multiplication.
00:23 Define a matrix.
00:25 Calculate size of a matrix.
00:28 Perform mathematical operations on Matrices such as addition, subtraction and multiplication.
00:36 The Pre-requisites are Scilab should be installed on your system.
00:41 You should have listened to the Spoken Tutorial on Getting started with Scilab.
00:46 You should have Basic knowledge about Vectors and Matrices.
00:50 I am using Windows 7 operating system and Scilab 5.2.2 for demonstration.
00:58 Click on Scilab shortcut icon on your Desktop to launch Scilab.
01:03 This will open the Scilab console window.
01:06 Notice that the cursor is on the command prompt.
01:10 I suggest that you practice this tutorial in Scilab simultaneously while pausing the video at regular intervals of time.
01:19 Let us start by defining a vector.
01:22 This can be done in two ways:
01:24 By using spaces as p is equal to open square bracket one space 2 space 3 close the square bracket and press enter.
01:37 or using commas as q is equal to open square bracket two comma three comma four close the square bracket and press enter.
01:53 We can find the length of a vector p by the command length of p and press enter
02:03 We can perform various mathematical operations on vectors such as
02:08 Addition of two vectors
02:11 Substraction of two vectors and so on.
02:14 Transpose of a vector can be found by using apostrophe (also known as single-quote).
02:21 p transpose is as shown
02:27 We can calculate p-transpose times q:
02:34 The command p times q-transpose gives a scalar:
02:43 Please pause the tutorial now and attempt exercise number one given with the video
02:50 Now we will see how to define a matrix.
02:56 Elements of a row of a matrix, can be defined using spaces or commas similar to that shown for a vector
03:04 For example,let us define a 2 by 3 matrix P by typing captital P is equal to open square bracket 1 space 2 space 3 semicolon
03:20 4 space five space 6 close the square bracket and press enter.
03:27 Note that Semicolon is used for defining the next row of the matrix.
03:32 Recall that Scilab is case sensitive.
03:34 Here variable P used to define matrix is in upper case.
03:40 Which is different from small p that was a vector.
03:44 Would you want to check what small p is at this point?
03:48 We will now see how to find the size of a Matrix using the “size” command.
03:53 for this type open square bracket row comma column close the sqaure bracket is equal to size of capital p which is matrix and press enter.
04:10 You get the following output.
04:17 Note that the length command will give the total number of elements in the matrix as you see.
04:27 The transpose command works for the matrices as well as shown here :
04:34 p transpose gives the transpose of matrix p.
04:41 Let us now define a 2 by 3 matrix Q:
04:45 Capital q is equal to open square bracket one space five space three semicolon to enter into the next row
04:56 Two space four space eight close the square bracket and press enter.
05:03 Let us also recall P once more:
05:08 We can carry out calculations involving P and Q, just as we do in mathematics.
05:14 For example, let us calculate E is equal to 2 times p plus 3 times q and press enter:
05:29 You may want to verify whether these calculations are correct.
05:33 Please pause the tutorial now and attempt exercise number two given with the video
05:44 In this tutorial, we have learnt to
05:47 Define a vector using spaces or commas.
05:50 Calculate length of a vector using the length() function.
05:54 Find the transpose of vector or matrix using apostrophe.
05:59 Define a matrix by using space or comma to separate the columns and semicolon to separate the rows.
06:07 Find size of a matrix using size() function.
06:11 This spoken tutorial has been created by the Free and Open Source Software in Science and Engineering Education (FOSSEE).
06:18 More information on the FOSSEE project could be obtained from fossee.in or scilab.in
06:28 Supported by the National Mission on Eduction through ICT, MHRD, Government of India.
06:33 For more information, visit:spoken hyphen tutorial dot org slash NMEICT hyphen intro.
06:43 This is Anuradha Amrutkar signing off.
06:46 Thank you for joining us. Good bye

Contributors and Content Editors

Gaurav, Jyotisolanki, Krupali, PoojaMoolya, Sandhya.np14, Sneha