MATLAB: How to combine two matrices combine matrix A = [1 2 3; 4 5 6; 7 8 9] B = [10 11 12; 13 14 15] C = [1 2 3; 4 5 6; 7 8 9; 10 11 12; 13 14 15] Best Answer C=[A;B]orC=vertcat(A,B) Related SolutionsMATLAB: How to do the following in a simpler and smarter way C=repmat(1:21,12,1)C=C(:)'%orC=1:21;C=reshape(C(ones(12,1),:),1,[]) MATLAB: I have a matrix of 5 rows and 3 columns and i want to select only 1st 3rd and 4th row with all column using an array how to do it?whats the script myArray = [1 2 3; 4 5 6; 7 8 9; 10 11 12; 13 14 15];result = myArray( [1 3 4], : ); Related QuestionHow to generate a nearly symmetric matrixReshape an array into anotherHow to measure an angle of peaks in a plotCombining K matrices in one matrixReplace one matrix with the positon indicated in another matrixCombine values from struct.
Best Answer