, , - length ( ). size(M, n), n-th . , , , , , .
, max(size(M)), , .
, , - .
. , , .. . n x m, n , 1, . , -, :
%// good case, where num of rows is 2 or greater
size(mean(rand(2, 4), 1)) %// [1, 4]
size(mean(rand(2, 4))) %// [1, 4]
%// bad case, where num of rows is 1
size(mean(rand(1, 4), 1)) %// [1, 4]
size(mean(rand(1, 4))) %// [1, 1], returns the average of that row