Extend a 20x1 structure to be a 20x10 structure

8 vues (au cours des 30 derniers jours)
new2matlab
new2matlab le 3 Août 2020
Commenté : new2matlab le 3 Août 2020
I have a 20x1 structure of specific data and I am looking for a way to just extend it (same data copied over) into a 20x10 structure so that I can multiply it by another structure.

Réponse acceptée

Bruno Luong
Bruno Luong le 3 Août 2020
repmat(s,1,10);

Plus de réponses (0)

Catégories

En savoir plus sur Structures dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by