MATLAB: Matrix Dimensions Solution Needed

MATLABmatrixsize function - how to use it???

Dear Friends how to find the dimension of matrix in matlab

Best Answer

Read about the function size. If A is your matrix, size give you the dimensions.
[m,n] = size(A) ; % m -rows, n - columns
[m,n,p] = size(A) ; %m- rows, n - columns, p - third diemsnion.