Getting values out of cell arrays

3 views (last 30 days)
Rudolf
Rudolf on 6 May 2021
Commented: Rudolf on 6 May 2021
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

Walter Roberson
Walter Roberson on 6 May 2021
output = cellfun(@(C) C(20:50,:), YourCellArray, 'uniform', 0);

More Answers (0)

Categories

Find more on Creating and Concatenating Matrices 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!