how can i put multiple matrices into a struct?
13 ビュー (過去 30 日間)
古いコメントを表示
Can add multiple matrices into one struct?
0 件のコメント
採用された回答
David Hill
2019 年 11 月 2 日
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.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Structures についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!