Scilab 6.0.0
Scilab Help >> Scilab > Scilab keywords > brackets
brackets
([,]) left and right brackets
Syntax
[a11,a12,...;a21,a22,...;...] [s1,s2,...]=func(...)
Arguments
- a11,a12,...
any matrix (real, polynomial, rational,
syslin
list ...) with appropriate dimensions- s1,s2,...
any possible variable name
Description
Left and right brackets are used to note vector and matrix concatenation. These symbols are also used to denote a multiple left-hand-side for a function call.
Inside concatenation brackets, blank or comma characters mean "column concatenation", semicolon and carriage-return mean "row concatenation".
Note : to avoid confusions it is safer to use commas instead of blank to separate columns.
Within multiple lhs brackets variable names must be separated by comma.
Examples
See Also
- parentheses — ( ) left and right parenthesis
- comma — (,) comma; instruction, argument separator
- semicolon — (;) ending expression and row separator
Comments
Add a comment:
Please login to comment this page.