Extend a 20x1 structure to be a 20x10 structure

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

Bruno Luong
Bruno Luong il 3 Ago 2020
repmat(s,1,10);

Più risposte (0)

Categorie

Scopri di più su Structures in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by