for iter = 1:2 Num_of_Banks = 4 Initial_Capitals = [ randi([0 100],Num_of_Banks,1) ] Total_initial_caps = sum(Initial_Capitals)end
This will set Num_of_Banks = always 4 and Initial_Capitals = rand
How can I create a table from X num of iterations (Prob = everything that I have tried til now) and store correctly the results?
Trying to make sth like this:
Num_of_Banks Initial_Capitals4 amount 14 amount 24 amount 3... ...
(My prog has almost 50 variables to be added so this is a small part of it)
Will appreciate your answers
(R2016a version)
Best Answer