There is a built-in function function called cellfun that evaluates a function for every element of a cell array. Create a cell array, then call the cellfun function, passing the handle of the length function and the cell array to determine the length of every element in the cell array.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.