六旬老伯辗转来泉找发小 时隔20年老兄弟再聚首

百度 文|鲁迅来源|《热风》配图|凯绥·珂勒惠支01中国人向来有点自大。

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? =

  1. 2.??? 3.

–> B=A’*A
B? =

  1. 2.??? 3.
  2. 4.??? 6.
  3. 6.??? 9.

?