Size of array
S = size(A)
- It returns the size vector of
[s1, s2, ..., sn] = size(A)
- n is the number of dimensions of
snare the lengths of the 1st, 2nd, ..., n-th dimension of
sk = size(A, k)
kshould be a positive integer.
skis the length of
k-th dimension. If
kexceeds the number of dimensions of
skwill be 1.