size
The size of array or the length of an array along a given dimension.
s=size(a)
len=size(a, dim)
[m,n,o,..]=size(a)
Inputs
a Any array.
dim The dimension along which the size is required.
Outputs
s A vector containing the size of the input along each of its dimension.
len The size of the input along the dimension dim .
{m, n, o,...} The elements of the vector s , the size of the input.