Padcat with multiple matrices
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
How do I use padcat to create multiple nx4 matrices?
Risposte (1)
Azzi Abdelmalek
il 5 Set 2013
Modificato: Azzi Abdelmalek
il 5 Set 2013
You can use
A=[2 3;4 5];
m=4;
out=repmat(A,m,1)
%or
out=repmat(A,1,m)
1 Commento
Azzi Abdelmalek
il 5 Set 2013
[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
Vedere anche
Categorie
Scopri di più su Creating and Concatenating Matrices 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!