x(i,:) = y(i,:) = Date(i,:) = % rename date in output vector to Date as its already used in the struct
Use the above format as shown which uses the for loop index.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!