Padcat with multiple matrices
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How do I use padcat to create multiple nx4 matrices?
Réponses (1)
Azzi Abdelmalek
le 5 Sep 2013
Modifié(e) : Azzi Abdelmalek
le 5 Sep 2013
You can use
A=[2 3;4 5];
m=4;
out=repmat(A,m,1)
%or
out=repmat(A,1,m)
1 commentaire
Azzi Abdelmalek
le 5 Sep 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
Voir également
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!