how can i concatenate matrices of diffrent data types and dimensions?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
concatenating matrices
1 commentaire
the cyclist
le 18 Mai 2016
This isn't Twitter. Please describe what you are trying to do in some detail, to help us help you.
Réponses (2)
Todd Leonhardt
le 18 Mai 2016
These are arrays that can contain data of varying types and sizes.
If you have two matrices, say M1 and M2, you can combine them into a cell array like so:
C = {M1 M2}
or
C = {M1; M2}
0 commentaires
Voir également
Catégories
En savoir plus sur Data Type Conversion dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!