2.13 Matrix Operations

The following table gives the syntax of the basic matrix operations available in Scilab.

SYMBOL OPERATION
[ ] matrix definition, concatenation
; row separator
( ) extraction m=a(k)
( ) insertion: a(k)=m
' transpose
+ addition
- subtraction
* multiplication
\ left division
/ right division
^ exponent
.* elementwise multiplication
.\ elementwise left division
./ elementwise right division
.^ elementwise exponent
.*. kronecker product
./. kronecker right division
.\. kronecker left division