Math, asked by zeangel5201, 9 months ago

how to find rows and columns of a matrix in matlab

Answers

Answered by jumanasadikot25
0

Answer:

horizontal are rows and

vertical are columns

Answered by Anonymous
0

Answer:

   %you have ndata matrix

   [r,c] = size(ndata);    %get row and column values of data matrix

   fprintf('\nRow of data matrix is: %d' ,r);      %print number of row

   fprintf('\nColumn of data matrix is: %d ' ,c);  %print number of column

Step-by-step explanation:

Similar questions