www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/SizeOfMatrixExample.m
%% Size of Matrix % Create a random matrix and compute the number of rows and columns. A = rand(4,3); [m,n] = size(A)