Let\'s say I\'ve got a vector like this one:
A = [101:105]
Which is really:
[ 101, 102, 103, 104, 105 ]
And I
The way I'd go about it is to create a matrix A
:
101 102 103 104 105 101 102 103 104 105 101 102 103 104 105 101 102 103 104 105 101 102 103 104 105
And then find a matrix B
such that when you multiply A*B
you'll get the result you want. Basically do the linear algebra on paper first and then have Matlab do the calculation.