Padcat with multiple matrices
1 回表示 (過去 30 日間)
古いコメントを表示
How do I use padcat to create multiple nx4 matrices?
回答 (1 件)
Azzi Abdelmalek
2013 年 9 月 5 日
編集済み: Azzi Abdelmalek
2013 年 9 月 5 日
You can use
A=[2 3;4 5];
m=4;
out=repmat(A,m,1)
%or
out=repmat(A,1,m)
1 件のコメント
Azzi Abdelmalek
2013 年 9 月 5 日
[Chad commented]
Thanks guys, but I sort of side-stepped my problem using xlswrite in a for loop and updating the matrix each iteration. But Azzi's solution would also work
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!