Getting size of object with size() Posted on December 24, 2013 You are in : Matlab >> Matrices >> size() is used to get size of an object in matlab. Example >> A = [1 2 3 4 5 6] A = 1 2 3 4 5 6 >> size(A) ans = 2 3 % 2 rows and 3 columns