The vector should look something like,
[1 2 3 0 0 0 0 1 2 3 0 0 0 0 1 2 3 0 0 0 0 1 2 3]; I know the vector ([1 2 3]) that I wish to 'paste' along the diagonal but I do not know the size of the array so the number of rows would need to be determined by a variable N.