Say I have the vector
a = [4 5 6];
How can I make the vector into
[4 5 6 5 6 7 6 7 8 7 8 9 ...]
where each column increments by some constant amount? The number of initial values nor the number of new rows are constant.
arrayextensionMATLABvector
a = [4 5 6];
[4 5 6 5 6 7 6 7 8 7 8 9 ...]
Best Answer