Getting values out of cell arrays

1 回表示 (過去 30 日間)
Rudolf
Rudolf 2021 年 5 月 6 日
コメント済み: Rudolf 2021 年 5 月 6 日
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);
  1 件のコメント
Rudolf
Rudolf 2021 年 5 月 6 日
Thank you Walter :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by