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 Solvers36
Suggested Problems
-
289 Solvers
-
1464 Solvers
-
Replace all zeros and NaNs in a matrix with the string 'error'
104 Solvers
-
Fahrenheit to Celsius converter
609 Solvers
-
Remove element(s) from cell array
2096 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!