MATLAB: Rearrange the dimension of lat and lon in matrix dimension There are 113 latitude and 226 longitude.I get a matrix in dimension 113*226.But I want it in 226*113.If it is possible to obtain in matlab? Best Answer You want to transpose the matrix?New_Matrix = Old_Matrix'; Related SolutionsMATLAB: How to concatenate 4000 matrices in matlab read this http://www.mathworks.com/help/matlab/import_export/process-a-sequence-of-files.html MATLAB: I am trying to use pcolor for a graph and matrixes all have to be the same. How to reshape it Let lon be your 3600*1, and lat be 1*2683 arrays. And the data be H 3600*2683.pcolor(lon,lat,H') ;shading interpshould work. Related QuestionHow to average a three dimensional matrix at each levelPlotting lat, lon, altitude, variable
Best Answer