Cody

Problem 45306. Find index of non empty cell array

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

66.67% Correct | 33.33% Incorrect
Last Solution submitted on Mar 30, 2020