how can i put multiple matrices into a struct?
13 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Can add multiple matrices into one struct?
0 Commenti
Risposta accettata
David Hill
il 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.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Structures in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!