I am running a loop for i=1:1:41 and each time end up with a column vector which is a time series of prices with a size of 89×1. The loop just wipes over the price column every time the new value i is input.
How do I run the loop so that I store the prices for every value of i so I end up with a matrix of 89×41?
Thanks!
Best Answer