how to define matirx series?
1 回表示 (過去 30 日間)
古いコメントを表示
Dear community,
I want to define a matirx series whose each element is a matirx. For example,
a1 = randn(2,2);
a2 = randn(2,2);
a3 = randn(2,2);
...
an = randn(2,2);
I want to define
c = [a1, a2, a3, ..., an];
But the operator [] returns a combined matrix.
0 件のコメント
回答 (1 件)
Arif Hoq
2022 年 3 月 25 日
square bracket returns horizontal concatenation of input argument. i guess you can use a cell array
c = {a1,a2,a3};
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Numerical Integration and Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!