This course will become read-only in the near future. Tell us at community.p2pu.org if that is a problem.

Session 9: Scilab Programming Language [June 8, 2011, 1:34 a.m.]


During our interaction with Scilab, we have been using the Scilab programming language even though we have been thinking we are using Scilab commands and not the programming language. That is because, we have not interactively used any program flow control structures such as if(), for etc. Nevertheless, we already know a little bit about Scilab programming language, such as, creating variables, writing expressions and statements, calling functions. Th eadditional things we need to learn are:

  1. Program flow control structures.
  2. Boolean operations, expressions and statements.
  3. Writing our own functions and using them within Scilab
  4. File input and output

Program Flow Control - Loops

for, while

Program Flow - Branching and Decision Making

if-then-else, select

Boolean Operations, Expressions and Statements