Extend a 20x1 structure to be a 20x10 structure

1 Ansicht (letzte 30 Tage)
new2matlab
new2matlab am 3 Aug. 2020
Kommentiert: new2matlab am 3 Aug. 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.

Akzeptierte Antwort

Bruno Luong
Bruno Luong am 3 Aug. 2020
repmat(s,1,10);

Weitere Antworten (0)

Kategorien

Mehr zu Structures finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by