Delete the column with all 0 data in a matrix(x).
e.g.
input x =
1 0 0 4 5 0 7 0 9 0 11 0
output y =
1 0 4 5 7 0 9 11 0
Should include some test cases with negative numbers in the Test Suite. For example, several submissions would fail for x = [1, −1; −1, 1].
Back to basics 21 - Matrix replicating
904 Solvers
Getting the indices from a matrice
266 Solvers
Sum the elements in either diagonal of a square matrix
144 Solvers
Back to Basics - Find no. of elements in a matrix?
163 Solvers
36 Solvers