I have a collumn vector consisting of n elemtents (size nx1):
P=[P1 ….. Pn]'
What I which to do, is transform this into a matrix with a certain number of rows. This is best explained by an example e.g. k=3 rows:
M=P1 P2 ... Pn-2P2 P3 ... Pn-1P3 P4 ... PnOr k=4 rowsM=P1 P2 ... Pn-3P2 P3 ... Pn-2P3 P4 ... Pn-1P4 P5 ... PnIn generalM=P1 P2 ... Pn-k+1P2 P3. .. .Pk Pk+1 ... Pn
I hope my point is clear and you can help me. I'm performing this operation such that I can perform a multiplication more efficiently.
Thank you guys in advance!
Best Answer