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.86% Correct | 57.14% Incorrect
Last Solution submitted on Nov 23, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers30

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!