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
Problem Comments
-
1 Comment
Rafael S.T. Vieira
on 10 Sep 2020
Please, fix the problem description. It is actually requesting the index of empty cells.
Solution Comments
Show commentsProblem Recent Solvers30
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
49364 Solvers
-
8528 Solvers
-
Matlab Basics II - Create a vector with a repeated entry
236 Solvers
-
Sum the squares of numbers from 1 to n
245 Solvers
-
915 Solvers
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!