P. R. Naren
School of Chemical & Biotechnology (SCBT)
prnaren@scbt.sastra.edu
at
National Conference on Advances in Process Engineering
CAPE-2013
SASTRA University
Thanjavur, Tamilnadu 613 401 INDIA
19th October 2013
Progress Through Quality
Scilab – A Computing Tool for
Engineers
Why are we here?
• To learn about Scilab
– Syntax
– Advantages
– Limitation
• To master programming skills
• To become efficient programmer
19-Oct-13 Scilab - A Computing Tool for Engineers 2
Familiarize
programming tool
Scilab
and
complement our
learning process !
Outline
• What is Scilab ?
• Basics
– Variables, Matrices,
– Std. I/O function
• Linear algebra
• Functions and Subroutines
• Control / Looping statements
• ODE
• File operations and GUI
• Plot Functions
19-Oct-13 Scilab - A Computing Tool for Engineers 3
Scilab
• Computing tool
– Scripts / programming environment
– Mathematical operations
A place where we can compute / calculate !!!
Numerically solve equations
• Free and Open source
http://www.scilab.org
– Free to download
– Lot of help material available over net
http://help.scilab.org/docs/5.4.1/en_US/index.html
19-Oct-13 Scilab - A Computing Tool for Engineers 4
Familiarization
• Version 5.4.1
19-Oct-13 Scilab - A Computing Tool for Engineers 5
Console
Variable
List
Command
History
File
Browser
Basic Operators and Functions
19-Oct-13 Scilab - A Computing Tool for Engineers 6
• Operators : +, -, *, /, ^
• sqrt
• %e
• %i
• %pi
• log
– This is based on “e” -
Natural logarithm
• log10
• Colon “:” operator
• sin cos tan
– sind cosd tand
– asin acos atan
• factorial
• sum
• product
• Relational
– > >= < <= == ~= <>
• Logical
– & | ~
Variables
• No class/type definitions or declarations
19-Oct-13 Scilab - A Computing Tool for Engineers 7
-->a = 3;
-->a
a =
3.
-->a = "Workshop";
-->a
a =
Workshop
Matrices
• Every variable is n dimension in nature
– No need to specify the dimensions / length / size
19-Oct-13 Scilab - A Computing Tool for Engineers 8
h = [ 1 24 -5]
-->h = [1 24 -5]
h =
1. 24. - 5.
-->h = 1;
-->h(1,2) = 24;
-->h(1,3) = - 5;
-->h
h =
1. 24. - 5.
-->h = [1 24];
-->h(1,3) = - 5;
-->h
h =
1. 24. - 5.
Matrices Cont.
19-Oct-13 Scilab - A Computing Tool for Engineers 9
-->x = [2 -3 4; 5 10 24]
x =
2. - 3. 4.
5. 10. 24.
-->x = [2 -3 4];
-->x(2,:) = [5 10 24];
-->x
x =
2. - 3. 4.
5. 10. 24.
-->x(2,:) = [5 10 24];
-->x
x =
0. 0. 0.
5. 10. 24.
-->x(1,:)=[2 -3 4]
x =
2. - 3. 4.
5. 10. 24.
Script Files
• Script file
– .sce
– .sci
 e - executable i – functions
 e – main script files i - for functions or sub-rountines
• “//” comment a statement
– Good programing etiquettes !
• clc
• clear
19-Oct-13 Scilab - A Computing Tool for Engineers 10
Tutorials
19-Oct-13 Scilab - A Computing Tool for Engineers 11
• Tut1: Product of two nos.
• Tut2: Product of two nos. + user input
• Tut3: Matrix calculations based on user
choice
• Tut4: Matrix calculations based on user
choice with condition check
• Tut5: Spline curves
• Tut6: Building blocks
• Tut7: Equation of motion : v
• Tut8: Equation of motion: v and x
• Tut9: Roots of polynomial
• Tut10: Smart Input for Tut4
• Tut11: Write output into text file
• Tut12: Sum on n numbers
• Tut1: Print statements
• Tut2: Input function
• Tut3: Switch case
• Tut4: If then else
• Tut5: Plot functions
• Tut6: Function (Sub routines)
• Tut7: ODE function : I order
• Tut8: Simultaneous ODE : Two I order
• Tut9: Inbuilt function fsolve
• Tut10: GUI
• Tut11: File operations
• Tut12: For looping
Tutorial 1
Multiplication of two numbers (23.4 and 21) and get
their product
• Objective
– General programming structure
clear
clc
different sections in program
– Different options for output (result display on console)
disp
mprintf
Tutorial-1 Script File
19-Oct-13 Scilab - A Computing Tool for Engineers 12
Tutorial 2
Multiplication of two numbers (user input) and get their
product
• Objective
– input function
Obtain user input and then perform computation
 Makes program more generic
 reusable !!
Tutorial-2 Script File
19-Oct-13 Scilab - A Computing Tool for Engineers 13
Tutorial 3
Perform operations on matrix based on user choice
• Objective
– Control statement – “select – case – end”
Obtain two matrices from user
 Perform arithmetic operations on the matrices based on user
choice
– Add two matrix
– Matrix multiplication
– Element wise multiplication
Tutorial-3 Script File
19-Oct-13 Scilab - A Computing Tool for Engineers 14
Tutorial 4
Perform operations on matrix based on user choice
with conditional check
• Objective
– Control statement – “if - then – else - end”
Obtain two matrices from user
 Perform arithmetic operations on the matrices based on user
choice
– Add two matrix / Matrix multiplication / Element wise multiplication
Check whether the user entered value is within bounds / range !!
Tutorial-4 Script File
19-Oct-13 Scilab - A Computing Tool for Engineers 15
Tutorial 5
Plot splines
• Objective
– Plot functions
Generate equi-spaced data (data range)
 Generate splines
– Smooth polynomial
Plot the generated spline to know its nature
Tutorial-5 Script File
19-Oct-13 Scilab - A Computing Tool for Engineers 16
Tutorial 6
Building Block
• Objective
– Use of sub-routines or functions
 Define function once and call it wherever required
 Given dimensions of unit building block how many blocks are
required to build a wall
Tutorial-6 Script File
19-Oct-13 Scilab - A Computing Tool for Engineers 17
Tutorial 7
Equation of motion : Velocity of a moving body under
constant linear acceleration
• Objective
– Solve first order ODE
 Equation of motion for a moving body under constant acceleration
Acceleration “a”
– Constant
– Variable
Tutorial-7 Script File
19-Oct-13 Scilab - A Computing Tool for Engineers 18
0 0
t t u u
 
Tutorial 8
Equation of motion : Velocity and Location of a moving
body under constant linear acceleration
• Objective
– Solve two first order ODE’s
 Equation of motion for a moving body under constant acceleration
Acceleration “a”
– Constant
– Variable
Tutorial-8 Script File
19-Oct-13 Scilab - A Computing Tool for Engineers 19
0 0
t t u u
 
Tutorial 9
Roots of Polynomial
• Objective
– To determine the roots of polynomial
 Find x such that f(x) = 0
 Quadratic equation
– Define f(x)
– Guess a value for xroot such that f (xroot) = 0
– Use in-built function fsolve to determine a actual root
Tutorial-9Script File
19-Oct-13 Scilab - A Computing Tool for Engineers 20
0 0
t t u u
 
2
0 1 2
f (x) a a x a x
  
Tutorial 10
Perform operations on matrix based on user choice
! Obtain data in Smart Way !
• Objective
– Use of simple GUI function to obtain data
Avoids error previously encountered in Tutorial 4 !
Tutorial-10 Script File
19-Oct-13 Scilab - A Computing Tool for Engineers 21
Tutorial 11
Write output data into a file
• Objective
– Use file I/O commands and write result into a file
 Circular cross section pipe of known (given) diameter D
 Fluid of known density ( r ) and viscosity ( m ) flowing at specified
volumetric flow rate
 Compute Reynolds no.
 If Re <= 2100 Flow is laminar
2100 < Re <= 5000 Transition
Re > 5000 Turbulent
Tutorial11-File-operation.sce
19-Oct-13 Scilab - A Computing Tool for Engineers 22
Du
Re
r

m
Tutorial 12
Sum on N numbers
• Objective
– Use looping statement – For loop
 Determine the sum of N numbers
Tutorial12-File-operation.sce
19-Oct-13 Scilab - A Computing Tool for Engineers 23
N
i
i 1
S x

 
To Sum Up
• Scilab as computing tool for engineers
• Basic arithmetic operations
• Computing abilities in Scilab
• Generic programming etiquette
• Use Tutorials and Web documents
• Improvise, learn (re-learn / un-learn)
• Use Scilab to complement your engineering
education
19-Oct-13 Scilab - A Computing Tool for Engineers 24
Gratitude
• CAPE-2013
– For this wonderful opportunity
• PR Team for their registration spree !!
• Technical and Infra support team
• Audience
19-Oct-13 Scilab - A Computing Tool for Engineers 25
19-Oct-13 Scilab - A Computing Tool for Engineers 26
THANK YOU
A person who never made a mistake never tried
anything new
- Albert Einstein
- 1879 -1955
Entities must not be
multiplied beyond necessity
- William of Ockham
- 12th A.D.

More Related Content

PPTX
Scilab: Computing Tool For Engineers
PPTX
Experiments & Experiences with Scilab in Undergraduate Education
PDF
Scilab-by-dr-gomez-june2014
PPT
scilab
PPTX
PPTX
Scilab Challenge@NTU 2014/2015 Project Briefing
PDF
ScilabTEC 2015 - Silkan
PDF
Sivp presentation
Scilab: Computing Tool For Engineers
Experiments & Experiences with Scilab in Undergraduate Education
Scilab-by-dr-gomez-june2014
scilab
Scilab Challenge@NTU 2014/2015 Project Briefing
ScilabTEC 2015 - Silkan
Sivp presentation

What's hot (20)

PDF
Scilab for real dummies
PDF
ScilabTEC 2015 - Scilab
PDF
COMPARATIVE STUDY OF MATLAB AND ITS OPEN SOURCE ALTERNATIVE SCILAB
PDF
Incubating Apache Hivemall
PDF
Deep Stream Dynamic Graph Analytics with Grapharis - Massimo Perini
PDF
ScilabTEC 2015 - Embedded Solutions
PDF
Mikio Braun – Data flow vs. procedural programming
PPT
Tech Days 2015: User Presentation Vermont Technical College
PDF
SLE2015: Distributed ATL
PDF
Practical Aggregate Programming in Scala
PPTX
Designing a machine learning algorithm for Apache Spark
PDF
Hivemall meets Digdag @Hackertackle 2018-02-17
PPTX
Nd4 j slides.pptx
PPTX
Nd4 j slides
PPTX
Automatic ream handling-3rd review 03-04-18
PPTX
Online learning with structured streaming, spark summit brussels 2016
PPTX
SMiLE: Design and Development of an ISS Payload for Liquid Behavior Study in ...
PPTX
Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...
PDF
Asymmetry in Large-Scale Graph Analysis, Explained
PDF
Innovative Solar Array Drive Assembly for CubeSat Satellite
Scilab for real dummies
ScilabTEC 2015 - Scilab
COMPARATIVE STUDY OF MATLAB AND ITS OPEN SOURCE ALTERNATIVE SCILAB
Incubating Apache Hivemall
Deep Stream Dynamic Graph Analytics with Grapharis - Massimo Perini
ScilabTEC 2015 - Embedded Solutions
Mikio Braun – Data flow vs. procedural programming
Tech Days 2015: User Presentation Vermont Technical College
SLE2015: Distributed ATL
Practical Aggregate Programming in Scala
Designing a machine learning algorithm for Apache Spark
Hivemall meets Digdag @Hackertackle 2018-02-17
Nd4 j slides.pptx
Nd4 j slides
Automatic ream handling-3rd review 03-04-18
Online learning with structured streaming, spark summit brussels 2016
SMiLE: Design and Development of an ISS Payload for Liquid Behavior Study in ...
Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...
Asymmetry in Large-Scale Graph Analysis, Explained
Innovative Solar Array Drive Assembly for CubeSat Satellite
Ad

Similar to Cape2013 scilab-workshop-19Oct13 (20)

PPTX
Scilab presentation
PPT
1.Exploration_with_CAS-I.Lab1_(1)[1].ppt
PDF
Scilab as a calculator
PDF
Scilab for very beginners
PDF
Engineering Computation: An Introduction Using MATLAB and Exce, 2nd Edition M...
PPT
Scilab for real dummies j.heikell - part 1
PPTX
Simulation lab
PPTX
PPTX
PDF
An Introduction to MATLAB with Worked Examples
DOC
Cse 7 softcomputing lab
PPTX
Matlab-1.pptx
PDF
MATALAB INTRO
PDF
First steps with Scilab
PPT
Matlab Tutorial.ppt
PDF
Engineering Computation With Matlab 2nd Ed David M Smith
PPTX
Variables in matlab
PPTX
2.Exploration with CAS-I.Lab2.pptx
PDF
An ntutorial[1]
PDF
Scilab presentation
1.Exploration_with_CAS-I.Lab1_(1)[1].ppt
Scilab as a calculator
Scilab for very beginners
Engineering Computation: An Introduction Using MATLAB and Exce, 2nd Edition M...
Scilab for real dummies j.heikell - part 1
Simulation lab
An Introduction to MATLAB with Worked Examples
Cse 7 softcomputing lab
Matlab-1.pptx
MATALAB INTRO
First steps with Scilab
Matlab Tutorial.ppt
Engineering Computation With Matlab 2nd Ed David M Smith
Variables in matlab
2.Exploration with CAS-I.Lab2.pptx
An ntutorial[1]
Ad

Recently uploaded (20)

PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PPTX
TNA_Presentation-1-Final(SAVE)) (1).pptx
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PDF
International_Financial_Reporting_Standa.pdf
PDF
Weekly quiz Compilation Jan -July 25.pdf
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
Trump Administration's workforce development strategy
PDF
Empowerment Technology for Senior High School Guide
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PDF
Environmental Education MCQ BD2EE - Share Source.pdf
PPTX
History, Philosophy and sociology of education (1).pptx
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PDF
Hazard Identification & Risk Assessment .pdf
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
TNA_Presentation-1-Final(SAVE)) (1).pptx
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
International_Financial_Reporting_Standa.pdf
Weekly quiz Compilation Jan -July 25.pdf
Cambridge-Practice-Tests-for-IELTS-12.docx
AI-driven educational solutions for real-life interventions in the Philippine...
Share_Module_2_Power_conflict_and_negotiation.pptx
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
Practical Manual AGRO-233 Principles and Practices of Natural Farming
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Trump Administration's workforce development strategy
Empowerment Technology for Senior High School Guide
FORM 1 BIOLOGY MIND MAPS and their schemes
Environmental Education MCQ BD2EE - Share Source.pdf
History, Philosophy and sociology of education (1).pptx
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
Hazard Identification & Risk Assessment .pdf
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
A powerpoint presentation on the Revised K-10 Science Shaping Paper

Cape2013 scilab-workshop-19Oct13

  • 1. P. R. Naren School of Chemical & Biotechnology (SCBT) prnaren@scbt.sastra.edu at National Conference on Advances in Process Engineering CAPE-2013 SASTRA University Thanjavur, Tamilnadu 613 401 INDIA 19th October 2013 Progress Through Quality Scilab – A Computing Tool for Engineers
  • 2. Why are we here? • To learn about Scilab – Syntax – Advantages – Limitation • To master programming skills • To become efficient programmer 19-Oct-13 Scilab - A Computing Tool for Engineers 2 Familiarize programming tool Scilab and complement our learning process !
  • 3. Outline • What is Scilab ? • Basics – Variables, Matrices, – Std. I/O function • Linear algebra • Functions and Subroutines • Control / Looping statements • ODE • File operations and GUI • Plot Functions 19-Oct-13 Scilab - A Computing Tool for Engineers 3
  • 4. Scilab • Computing tool – Scripts / programming environment – Mathematical operations A place where we can compute / calculate !!! Numerically solve equations • Free and Open source http://www.scilab.org – Free to download – Lot of help material available over net http://help.scilab.org/docs/5.4.1/en_US/index.html 19-Oct-13 Scilab - A Computing Tool for Engineers 4
  • 5. Familiarization • Version 5.4.1 19-Oct-13 Scilab - A Computing Tool for Engineers 5 Console Variable List Command History File Browser
  • 6. Basic Operators and Functions 19-Oct-13 Scilab - A Computing Tool for Engineers 6 • Operators : +, -, *, /, ^ • sqrt • %e • %i • %pi • log – This is based on “e” - Natural logarithm • log10 • Colon “:” operator • sin cos tan – sind cosd tand – asin acos atan • factorial • sum • product • Relational – > >= < <= == ~= <> • Logical – & | ~
  • 7. Variables • No class/type definitions or declarations 19-Oct-13 Scilab - A Computing Tool for Engineers 7 -->a = 3; -->a a = 3. -->a = "Workshop"; -->a a = Workshop
  • 8. Matrices • Every variable is n dimension in nature – No need to specify the dimensions / length / size 19-Oct-13 Scilab - A Computing Tool for Engineers 8 h = [ 1 24 -5] -->h = [1 24 -5] h = 1. 24. - 5. -->h = 1; -->h(1,2) = 24; -->h(1,3) = - 5; -->h h = 1. 24. - 5. -->h = [1 24]; -->h(1,3) = - 5; -->h h = 1. 24. - 5.
  • 9. Matrices Cont. 19-Oct-13 Scilab - A Computing Tool for Engineers 9 -->x = [2 -3 4; 5 10 24] x = 2. - 3. 4. 5. 10. 24. -->x = [2 -3 4]; -->x(2,:) = [5 10 24]; -->x x = 2. - 3. 4. 5. 10. 24. -->x(2,:) = [5 10 24]; -->x x = 0. 0. 0. 5. 10. 24. -->x(1,:)=[2 -3 4] x = 2. - 3. 4. 5. 10. 24.
  • 10. Script Files • Script file – .sce – .sci  e - executable i – functions  e – main script files i - for functions or sub-rountines • “//” comment a statement – Good programing etiquettes ! • clc • clear 19-Oct-13 Scilab - A Computing Tool for Engineers 10
  • 11. Tutorials 19-Oct-13 Scilab - A Computing Tool for Engineers 11 • Tut1: Product of two nos. • Tut2: Product of two nos. + user input • Tut3: Matrix calculations based on user choice • Tut4: Matrix calculations based on user choice with condition check • Tut5: Spline curves • Tut6: Building blocks • Tut7: Equation of motion : v • Tut8: Equation of motion: v and x • Tut9: Roots of polynomial • Tut10: Smart Input for Tut4 • Tut11: Write output into text file • Tut12: Sum on n numbers • Tut1: Print statements • Tut2: Input function • Tut3: Switch case • Tut4: If then else • Tut5: Plot functions • Tut6: Function (Sub routines) • Tut7: ODE function : I order • Tut8: Simultaneous ODE : Two I order • Tut9: Inbuilt function fsolve • Tut10: GUI • Tut11: File operations • Tut12: For looping
  • 12. Tutorial 1 Multiplication of two numbers (23.4 and 21) and get their product • Objective – General programming structure clear clc different sections in program – Different options for output (result display on console) disp mprintf Tutorial-1 Script File 19-Oct-13 Scilab - A Computing Tool for Engineers 12
  • 13. Tutorial 2 Multiplication of two numbers (user input) and get their product • Objective – input function Obtain user input and then perform computation  Makes program more generic  reusable !! Tutorial-2 Script File 19-Oct-13 Scilab - A Computing Tool for Engineers 13
  • 14. Tutorial 3 Perform operations on matrix based on user choice • Objective – Control statement – “select – case – end” Obtain two matrices from user  Perform arithmetic operations on the matrices based on user choice – Add two matrix – Matrix multiplication – Element wise multiplication Tutorial-3 Script File 19-Oct-13 Scilab - A Computing Tool for Engineers 14
  • 15. Tutorial 4 Perform operations on matrix based on user choice with conditional check • Objective – Control statement – “if - then – else - end” Obtain two matrices from user  Perform arithmetic operations on the matrices based on user choice – Add two matrix / Matrix multiplication / Element wise multiplication Check whether the user entered value is within bounds / range !! Tutorial-4 Script File 19-Oct-13 Scilab - A Computing Tool for Engineers 15
  • 16. Tutorial 5 Plot splines • Objective – Plot functions Generate equi-spaced data (data range)  Generate splines – Smooth polynomial Plot the generated spline to know its nature Tutorial-5 Script File 19-Oct-13 Scilab - A Computing Tool for Engineers 16
  • 17. Tutorial 6 Building Block • Objective – Use of sub-routines or functions  Define function once and call it wherever required  Given dimensions of unit building block how many blocks are required to build a wall Tutorial-6 Script File 19-Oct-13 Scilab - A Computing Tool for Engineers 17
  • 18. Tutorial 7 Equation of motion : Velocity of a moving body under constant linear acceleration • Objective – Solve first order ODE  Equation of motion for a moving body under constant acceleration Acceleration “a” – Constant – Variable Tutorial-7 Script File 19-Oct-13 Scilab - A Computing Tool for Engineers 18 0 0 t t u u  
  • 19. Tutorial 8 Equation of motion : Velocity and Location of a moving body under constant linear acceleration • Objective – Solve two first order ODE’s  Equation of motion for a moving body under constant acceleration Acceleration “a” – Constant – Variable Tutorial-8 Script File 19-Oct-13 Scilab - A Computing Tool for Engineers 19 0 0 t t u u  
  • 20. Tutorial 9 Roots of Polynomial • Objective – To determine the roots of polynomial  Find x such that f(x) = 0  Quadratic equation – Define f(x) – Guess a value for xroot such that f (xroot) = 0 – Use in-built function fsolve to determine a actual root Tutorial-9Script File 19-Oct-13 Scilab - A Computing Tool for Engineers 20 0 0 t t u u   2 0 1 2 f (x) a a x a x   
  • 21. Tutorial 10 Perform operations on matrix based on user choice ! Obtain data in Smart Way ! • Objective – Use of simple GUI function to obtain data Avoids error previously encountered in Tutorial 4 ! Tutorial-10 Script File 19-Oct-13 Scilab - A Computing Tool for Engineers 21
  • 22. Tutorial 11 Write output data into a file • Objective – Use file I/O commands and write result into a file  Circular cross section pipe of known (given) diameter D  Fluid of known density ( r ) and viscosity ( m ) flowing at specified volumetric flow rate  Compute Reynolds no.  If Re <= 2100 Flow is laminar 2100 < Re <= 5000 Transition Re > 5000 Turbulent Tutorial11-File-operation.sce 19-Oct-13 Scilab - A Computing Tool for Engineers 22 Du Re r  m
  • 23. Tutorial 12 Sum on N numbers • Objective – Use looping statement – For loop  Determine the sum of N numbers Tutorial12-File-operation.sce 19-Oct-13 Scilab - A Computing Tool for Engineers 23 N i i 1 S x   
  • 24. To Sum Up • Scilab as computing tool for engineers • Basic arithmetic operations • Computing abilities in Scilab • Generic programming etiquette • Use Tutorials and Web documents • Improvise, learn (re-learn / un-learn) • Use Scilab to complement your engineering education 19-Oct-13 Scilab - A Computing Tool for Engineers 24
  • 25. Gratitude • CAPE-2013 – For this wonderful opportunity • PR Team for their registration spree !! • Technical and Infra support team • Audience 19-Oct-13 Scilab - A Computing Tool for Engineers 25
  • 26. 19-Oct-13 Scilab - A Computing Tool for Engineers 26 THANK YOU A person who never made a mistake never tried anything new - Albert Einstein - 1879 -1955 Entities must not be multiplied beyond necessity - William of Ockham - 12th A.D.

Editor's Notes

  • #6: Console: Simple arithmetic operations can be directly performed on console / Output is displayed on console Command history stores all commands from console ! Variable browser window lists all the variable that are currently in use
  • #8: Semi-colon “;” is used to suppress printing / display on the command window. For instance, command “a=3” assigns 3 to variable “a” and also displays the output on console In contrast, “a=3;” assigns 3 to variable a but suppress the display on console
  • #9: Q: How to retrieve the elements of matrix? Extraction of elements from matrix Colon “:” operator