Merging the Cell Arrays with Different Dimensions

2 views (last 30 days)
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.

Accepted Answer

KSSV
KSSV on 9 Jun 2022
iwant = [cell1 cell2] ;

More Answers (0)

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!