Extend a 20x1 structure to be a 20x10 structure

1 view (last 30 days)
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.

Accepted Answer

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

More Answers (0)

Categories

Find more on Structures in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!