Mathematics
Scilab provides about 1,700 mathematical functions for usual engineering and science applications including mathematical operations and data analysis.
Elementary functions
// x initialisation x=[0:0.1:2*%pi]'; //simple plot plot(sin(x))
Polynomials and rational functions
//seed for defining polynomials with symbol "s" s=poly(0,"s");p=1+s+2*s^2;
Vectors and Matrixes
The core of Scilab is based on linear algebra librairies.
It is optimized for matrix computations.
--> A=[1,2,3]
A =
- 2. 3.
–> B=A’*A
B =
- 2. 3.
- 4. 6.
- 6. 9.