MATLAB: Could anyone tell me how to display the row size of the matrix,if the size of the row keeps on changing. size; could anyone tell me how to display the row size of the matrix,if the size of the row keeps on changing. Best Answer Try this wherever you want to report the number of rows:message = sprintf('The number of rows = %d.\n', size(yourData));fprintf('%s', message);uiwait(helpdlg(message));If that doesn't do it for you, then try this link Related SolutionsMATLAB: Subscripted assignment dimension mismatch. newCanvass(row:end, column:end,:) = overlapImage(row:end, column:end,:); MATLAB: For same Matrix subtraction between rows a(2:2:end,:) = a(1,:)-a(2:2:end,:); Related QuestionCould anyone tell me what command can be used to return the row size of the matrix.Question?please help me.Kvalue=zeros(size(data,1),size(data,1),size(data,2));
Best Answer