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 comments
Loading...
Problem Recent Solvers35
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6765 Solvers
-
Return the largest number that is adjacent to a zero
5524 Solvers
-
Find the peak 3n+1 sequence value
2570 Solvers
-
Omit columns averages from a matrix
620 Solvers
-
Set some matrix elements to zero
630 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!