Question : matlab matrix size
Answered by : boris-krischel
d = size(X) % Returns sizes of each dimension of array X in a vector d.
[m,n] = size(X) % Returns the size of matrix X in separate variables m and n.
m = size(X,dim) % Returns the size of the dimension of X specified by scalar dim.
Source : http://matlab.izmiran.ru/help/techdoc/ref/size.html | Last Update : Mon, 06 Apr 20