MATLAB: Extend a 20×1 structure to be a 20×10 structure

multiply

I have a 20×1 structure of specific data and I am looking for a way to just extend it (same data copied over) into a 20×10 structure so that I can multiply it by another structure.

Best Answer

repmat(s,1,10);