Merging the Cell Arrays with Different Dimensions

2 Ansichten (letzte 30 Tage)
tinkyminky93
tinkyminky93 am 9 Jun. 2022
Beantwortet: KSSV am 9 Jun. 2022
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.

Akzeptierte Antwort

KSSV
KSSV am 9 Jun. 2022
iwant = [cell1 cell2] ;

Weitere Antworten (0)

Kategorien

Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by