Merging the Cell Arrays with Different Dimensions

조회 수: 2 (최근 30일)
tinkyminky93
tinkyminky93 2022년 6월 9일
답변: KSSV 2022년 6월 9일
Hello,
I have cell arrays with the dimensions of 100x57 and 100x80. I want to merge them like [cell1;cell2] but MATLAB gives error because their dimensions are not consistent. How can I merge them? Thank you.

채택된 답변

KSSV
KSSV 2022년 6월 9일
iwant = [cell1 cell2] ;

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by