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

42.11% Correct | 57.89% Incorrect
Last Solution submitted on Aug 20, 2023

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers29

Suggested Problems

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!