Getting values out of cell arrays

I have a 1x24 cell containing 24 arrays of double values. How can i extract the values in row 20 to 50 in each cell over to a new 1x24 cell?

 Accepted Answer

output = cellfun(@(C) C(20:50,:), YourCellArray, 'uniform', 0);

More Answers (0)

Categories

Asked:

on 6 May 2021

Commented:

on 6 May 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!