MATLAB: How to invert parts of a matrix inverse of submatrix Hi! I have column vector A = [1 2 3 4 5 6 7 8 9]'. From A, I want to get to B = [1 2 3; 4 5 6; 7 8 9] by inverting the relevant subvectors of A. How can I do that? Filippos Best Answer out=reshape(A,3,3)' Related SolutionsMATLAB: QUESTION ON MATRIX RESHAPING a = reshape(1:9,3,[])';out = kron(a,ones(3));orout = repelem(A,3,3) MATLAB: Repeat parts of a matrix This should workB = [1 2; 3 4; 1 2; 3 4; 5 6; 7 8; 5 6; 7 8; 9 10; 11 12; 9 10; 11 12];A = [1 2; 3 4 ; 5 6; 7 8; 9 10; 11 12];C=reshape(A',4,3);C=[C;C];C=reshape(C,2,12);C=C'; Related QuestionHow to combine multiple columns into a single columnDecompose and invert a cell arrayFind the pair of the matrixMultiply parts of matrices
Best Answer