Merging the Cell Arrays with Different Dimensions

2 vues (au cours des 30 derniers jours)
tinkyminky93
tinkyminky93 le 9 Juin 2022
Réponse apportée : KSSV le 9 Juin 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.

Réponse acceptée

KSSV
KSSV le 9 Juin 2022
iwant = [cell1 cell2] ;

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by