Hi I have a for loop. The result of every iteration is a rowvector. I want all rowvectors of the for loop stored as one matrix. Each row is the result of one iteration.
for i = 1:length(X)
The end result shoud be an 11 x 5 matrix. Indexing will give errors, so will starting with an empty array.