/usr/share/freemat/help/text/cell.mdc is in freemat-help 4.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | CELL CELL Cell Array of Empty Matrices
Usage
Creates a cell array of empty matrix entres. Two seperate
syntaxes are possible. The first syntax specifies the array
dimensions as a sequence of scalar dimensions:
y = cell(d1,d2,...,dn).
The resulting array has the given dimensions, and is filled with
all zeros. The type of y is cell, a cell array.
The second syntax specifies the array dimensions as a vector,
where each element in the vector specifies a dimension length:
y = cell([d1,d2,...,dn]).
This syntax is more convenient for calling zeros using a
variable for the argument. In both cases, specifying only one
dimension results in a square matrix output.
CELL CELL Cell Array Definitions
Usage
The cell array is a fairly powerful array type that is available
in FreeMat. Generally speaking, a cell array is a heterogenous
array type, meaning that different elements in the array can
contain variables of different type (including other cell arrays).
For those of you familiar with C, it is the equivalent to the
void * array. The general syntax for their construction is
A = {row_def1;row_def2;...;row_defN}
where each row consists of one or more elements, seperated by
commas
row_defi = element_i1,element_i2,...,element_iM
Each element can be any type of FreeMat variable, including
matrices, arrays, cell-arrays, structures, strings, etc. The
restriction on the definition is that each row must have the
same number of elements in it.
|