MATLAB: How can i reshape a matrix into a vector arraymatrixreshapevector Hello , How can i reshape an array like this [10 20 30 40 50 60] to : [40 50 60 10 20 30] Best Answer reshape(flipud(A).',[],1) Related SolutionsMATLAB: Creating combinations of 3 vectors One possible solution would be like this:A = [50,20,30; 55,25,35; 60,30,40];[p1,p2,p3] = ndgrid(1:3);Result = [A(p3(:),1),A(p2(:),2),A(p1(:),3)]; MATLAB: How to search row and delete row x= [15 30 45 60 -45 -30 0 90 15 30 45 60 -45 -30 0 90 15 45 60 -45 -30 0]; a = unique(x); b = a(a ~= x(end)); value = ones(numel(b),1)*x; value(:,end) = b; Related QuestionReshapeIf a=[1 2 3], b=[10 20 30], how to create c=[10 20 20 30 30 30]ReshapingPreallocating matrix with a numeric trendReshape a matrix into vector using rowsHow to replace and interchange valuesHow can I reshape vector data into a matrix
Best Answer