I am wondering how I would create an array of numbers from a loop in matlab. After every iteration a number is saved and I want to be able to put all these outputs in one array. My outputs look like
and so on.....
I want it so at the end of the loop the answer says
Thank you in advance