how can i put multiple matrices into a struct?
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Mio Rinnovo
am 2 Nov. 2019
Kommentiert: Mio Rinnovo
am 2 Nov. 2019
Can add multiple matrices into one struct?
0 Kommentare
Akzeptierte Antwort
David Hill
am 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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Structures finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!