size.RdProvides the dimensions of x.
size(x, k)Returns the number of dimensions as length(x).
Vector will be treated as a single row matrix.
vector containing the dimensions of x, or the k-th dimension
if k is not missing.
The result will differ from Matlab when x is a character vector.