Can anyone please how me how to remove columns from a matrix?
an example of what I am trying to do is remove the 4 columns of this 2×6 matrix:
[a,0,0,0,0,b; c,0,0,0,0,d]
to
[a,b;c,d]
matrixmatrix arraymatrix manipulation
[a,0,0,0,0,b; c,0,0,0,0,d]
[a,b;c,d]
Best Answer