MATLAB: How to create a grid from data in a row columngridMATLABrow I have got data stored in one row in the columns (24:419). I want to convert this data to a grid with the size 18×22. Is there any way I could do this? Best Answer A = rand(1000) ;col = 24:419 ; % your columns row = 7 ; % your row B = reshape(A(row,col),18,22) ;pcolor(B) Related SolutionsMATLAB: Concatenating even and odd rows A=rand(10,16);B=[A(1:2:end,:),A(2:2:end,:)] MATLAB: Grid I may be oversimplifying it, but perhaps issue ahold offat the end of the code and see if this gives you behavior you desire.grid minor is a toggle, so that if you issue it and then have a hold on, then when it is issued again, it will toggle off. Related QuestionHow to reduce rows to columnHow to generate a matrix containing 35 rows and 3 columnsMake gridRepeat last row at the end of matrixPlot gridSingle Line/Column in MatlabSum of each row
Best Answer