Find index of non empty cell array - MATLAB Cody - MATLAB Central

Problem 45306. Find index of non empty cell array

Difficulty:Rate

This question aims to understand the characteristics of MATLAB programs. Educational problem.

Please find non empty index of cell array.(Hint: cellfun)

e.g. :

input :

x = {1,[],[],[]};

output :

y = 1

Solution Stats

65.31% Correct | 34.69% Incorrect
Last Solution submitted on Feb 10, 2025

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
3
3

Problem Recent Solvers31

Suggested Problems

More from this Author1

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!