Main Content
square brackets, [ ]
Array creation and concatenation, element deletion, argument assignment
Syntax
Description
Square brackets []
create and concatenate arrays, create empty
matrices, delete array elements, and enclose function output arguments. For instance,
[10 12 -3]
creates a vector with three elements.
Examples
Version History
Introduced before R2006a