Problem 44246. Delete the column with all 0 in the TABLE
In the given table (T), delete the column with all 0 data.
e.g.
input
Banana Apple Orange Mellon
______ _____ ______ ______ 0 71 0 2
0 5 0 4
0 64 0 34 output
Apple Mellon
_____ ______ 71 2
5 4
64 34
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers31
Suggested Problems
-
Getting the absolute index from a matrix
251 Solvers
-
Replace all zeros and NaNs in a matrix with the string 'error'
101 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13022 Solvers
-
5741 Solvers
-
218 Solvers
More from this Author7
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!