필터 지우기
필터 지우기

Getting values out of cell arrays

조회 수: 5 (최근 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);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by