<< sign | Elementary functions | sqrt >> |
s = size(X) |
sdim = size(X, dim) |
vec = size(X, dims) |
[r, c] = size(X) |
[s1, ... , sn] = size(X) |
a variable
a variable: a positive integer to get the dimth dimension.
a variable: a vector of positive integer to get the dimth dimensions.
a row vector whose elements contain the length of the corresponding dimension of X.
the length of dimension dim.
length of dimensions dims.
number of rows and columns.
numbers with integer values.
X = rand(3, 4, 5, 6);
size(X)
size(X, 3)
size(X, [2 4])
[r, c] =size(X)
[s1, s2, s3, s4] = size(X)
size(cell(4,3))
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET