MATLAB: How to resize a matrix matrix arraymatrix manipulation I have a matrix A of dimension 129*135. I want to make it 135*135 by adding some NaN values. How is it possible in a simple way? Best Answer a=rand(129,135) % Examplea(end+1:135,:)=nan Related SolutionsMATLAB: Rearrange the dimension of lat and lon in matrix You want to transpose the matrix?New_Matrix = Old_Matrix'; MATLAB: How to concatenate 4000 matrices in matlab read this http://www.mathworks.com/help/matlab/import_export/process-a-sequence-of-files.html Related QuestionI am trying to use pcolor for a graph and matrixes all have to be the same. How to reshape itHow to extract a sub matrix B from a matrix A?How to ignore nan values in corr functionHow to get daily minimum value of temperature from a three dimensional matrix
Best Answer