Getting values out of cell arrays

2 次查看(过去 30 天)
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?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Types 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by