Merging the Cell Arrays with Different Dimensions

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

KSSV
KSSV il 9 Giu 2022
iwant = [cell1 cell2] ;

Più risposte (0)

Categorie

Scopri di più su Multidimensional Arrays in Help Center e File Exchange

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by