[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
7.1 Lists | ||
7.2 Cell Arrays |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
x = list (1, 2); y = list (3, 4); append (x, y); |
results in the list containing the four elements `(1 2 3 4)', not a list containing the three elements `(1 2 (3 4))'.
append (list_1, list_2)
.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
cell
returns a square cell array with the dimension
specified. If you supply two scalar arguments, cell
takes
them to be the number of rows and columns. If given a vector with two
elements, cell
uses the values of the elements as the number of
rows and columns, respectively.
[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |