Create a matrix with a repetitive pattern
14 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
consider the following matrix.
234
235
236
237
238
239
I want to convert it into the following matrix pattern:
234
235
236
237
238
239
234
235
236
237
238
239
234
235
236
237
238
239
234
235
236
237
238
239
234
235
236
237
238
239
234
235
236
237
238
239
0 commentaires
Réponse acceptée
James Tursa
le 5 Avr 2018
x = your original vector
n = number of vertical repititions
result = repmat(x,n,1);
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Type Conversion 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!