how can i put multiple matrices into a struct?
12 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Can add multiple matrices into one struct?
0 commentaires
Réponse acceptée
David Hill
le 2 Nov 2019
A and B are maxtrixes of any size.
m=struct('matrix',{A,B});
struct field is 'matrix', so m(1).matrix == A and m(2).matrix == B.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Structures 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!