A=[1 2 0 4 1 6; 4 5 0 0 1 2; 0 1 4 7 1 5 ]
I want to have in result
B=[1 2 0 4;4 5 0 0;0 1 4 7]
==> dimension=[4 3] and
C=[1 6;1 2;1 5]
==> dimension=[4 2]
I tried the function mat2cell but it doesn't divise vertically… Then I want to disp(B, 'matrcie B); and disp(C, 'matrice C)… HOW CAN I DO THIS PLEASE 🙂
Best Answer