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
Join Cody Contest 2025 — Have Fun and Win Prizes!
...
We’re excited to invite you to Cody Contest 2025! 🎉 Pick a team,...

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!