Repeat matrix element of a given matrix
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
my matrix is x=[2 5 3 6 1]
I want it to make it as y=[2 2 2 2 5 5 5 5 3 3 3 3 6 6 6 6 1 1 1 1]
which function does it?
1 commentaire
Réponse acceptée
Plus de réponses (3)
Voir également
Catégories
En savoir plus sur Calculus 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!