MATLAB: How to repeat a column vector to make into one longer column vector

column vectorrepeating

I have a column vector that has 24 values that I want to repeat 30 times into a column vector that has 720 values. How do I do this?

Best Answer

repmat(yourvector,30,1)
%or
repelem(yourvector,30,1)
% choose which suits you