Scilab 5.3.0
- Scilab Online Help
- Scilab
- Scilab keywords
- TMPDIR
- abort
- add_demo
- argn
- banner
- boolean
- break
- clear
- clearfun
- clearglobal
- comp
- continue
- debug
- delbpt
- dispbpt
- edit
- errcatch
- errclear
- error
- error_table
- exists
- exit
- external
- extraction
- format
- funcprot
- funptr
- getdebuginfo
- getmd5
- getmemory
- getmodules
- getos
- getscilabmode
- getshell
- getvariablesonstack
- getversion
- gstacksize
- ieee
- insertion
- intppty
- inv_coeff
- iserror
- isglobal
- lasterror
- macr2lst
- macr2tree
- matrices
- matrix
- mode
- mtlb_mode
- names
- newfun
- null
- pause
- perl
- poly
- predef
- quit
- rational
- readgateway
- resume
- sciargs
- scilab
- setbpt
- stacksize
- startup
- symbols
- testmatrix
- type
- typename
- user
- varn
- ver
- warning
- what
- where
- whereami
- who
- who_user
- whos
- with_atlas
- with_javasci
- with_macros_source
- with_module
- with_pvm
- with_texmacs
- with_tk
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
matrices
Scilab object, matrices in Scilab
Description
Matrices are basic objects defined in Scilab. They can be defined as follows:
E=[e11,e12,...,e1n; e21,e22,...,e2n; .... em1,em2,...,emn];
Entries eij
can be real or complex numbers, polynomials,
rationals, strings, booleans.
Vectors are seen as matrices with one row or one column.
Examples
E=[1,2;3,4] E=[%T,%F;1==1,1~=1] s=poly(0,'s');E=[s,s^2;1,1+s] E=[1/s,0;s,1/(s+1)] E=['A11','A12';'A21','A22']
<< macr2tree | Scilab | matrix >> |