next up previous contents index
Next: 6.6.2.0.2 Scilab Session Up: 6.6.2 Matrix Example Previous: 6.6.2 Matrix Example

6.6.2.0.1 Maple Session

> with(linalg):read(`maple2scilab.maple`):

> x:=vector(2):par:=vector(2):

> mat:=matrix(2,2,[x[1]^2+par[1],x[1]*x[2],par[2],x[2]]);

                            [     2                     ]
                            [ x[1]  + par[1]  x[1] x[2] ]
                    mat :=  [                           ]
                            [     par[2]         x[2]   ]

> maple2scilab('mat',mat,[x,par]);


next up previous contents index
Next: 6.6.2.0.2 Scilab Session Up: 6.6.2 Matrix Example Previous: 6.6.2 Matrix Example
Scilab Group