Question: Simple question about increasing the size of a Matrix

Hi I pretty new to Maple and I have the following question. I make some calculations and out pops a number of values I am interesting. This is done several times in a loop (which I don't know the number of iterations of). Now, I would like to save these values so I can use them later on. My idea was to put everything into a matrix, and increase the size of it during runtim. I.e. initialize M for 1 to 5 do some calculations that return a and b change M so that M equals the old M with a and b added as last row end do How do I do this?
Please Wait...