MATLAB: How to arrange different matix as a contineus single matrix matrix I want to convert three matrix set into a single one. for example a=[1,2,3], b=[4,5,6], c=[8,9,10,12,13] the output i expect is output1=[1,2,3,4,5,6,8,9,10,12,13] Best Answer Output1=horzcat(a,b,c) Related SolutionsMATLAB: How to combine two matrices C=[A;B]orC=vertcat(A,B) MATLAB: Plot Matix In case someone has the same problem, you must convert the date using datum()here is the code I used:date = datenum(date, 'yyyy-mm-dd'), 'mmddyyyy'; plot(date, p_open) set(gca,'XTickLabel',date) datetick('x','mm-dd-yyyy','keepticks')Thanks Jan for the suggestion. I'm not sure why but the labels are broken into about 2 month periods (there are 3 points where it is a 1 month period) Related QuestionRepeat parts of a matrixReplace one matrix with the positon indicated in another matrixArrange indicesHow to find the Reverse process of A(B).
Best Answer