Index of non empty cells in a cell array
11 views (last 30 days)
Show older comments
Hi, i have a cell array like this. How can i know the index of the non empty cells? In this case the result should be index=[1 1 0].(Please note that i want the index, not what isinside the cell)
1×3 cell array
{[1]} {[1]} {0×0 double}
0 Comments
Accepted Answer
See Also
Categories
Find more on Matrices and Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!