My Scilab programming notes

From Zheyong Fan
Jump to navigation Jump to search

Download

Scilab can be downloaded from the official site of Scilab. As of 16 Jun 2020, the latest version is Scilab 6.1.0.

Tutorial

This is a very good tutorial for beginners: Scilab for very beginners.

Manual

After studying the above tutorial, one just needs to use the embedded help within the installed software, or the online help page: https://help.scilab.org/.

Some grammars (ongoing)

Comments

Comments in Scilab follow C++ style:

// This is a comment

In Matlab, comments start from %. In Scilab, % is used as prefix for built-in constants, such as

%e       // Euler number.
%eps     //epsilon (floating-point relative accuracy)
%f or %F // Boolean variable for false.
%i       // imaginary unit
%inf     // infinity
%nan     // not-a-number
%pi      // ratio of circle's circumference to its diameter
%s       // A variable used to define polynomials.
%t or %T // Boolean variable for true.
%z       // A variable used to define polynomials.

Over

That's it. Bye bye Matlab!