Hello guys, my code have a loop iteration FOR. That generate 13 matrix, my question is, how i can store this results of loop, each iteration, in a new matrix. Where else ahead, i'm needed to pull this matriz's of my storage matrix.
Obs* = I' have a old matrix e new matrix (this into the loop) i need storage the old matrix, in first "space" of my storage matrix and in the other rows e colums i need storage the looping results.
*Sorry for my poor english.
Ee = [-P(1) e0 -P(3) P(2) -P(2) P(3) e0 -P(1) -P(3) -P(2) P(1) e0]; for it=2:4:52EeNew = [-P(it+3) P(it+2) -P(it+5) P(it+4) -P(it+4) P(it+2) P(it+2) -P(it+3) -P(it+5) -P(it+4) P(it+3) P(it+2)]; end %[Ee,EeNew(:,:)] = [Ee EeNew()] (my fails)
Best Answer