I am building two hypermatice of dimension ([N,N,E,L,2,T]), where N = 25, E = 10; L = 20; T = 100.
I use for-loops to create all elements of the two matrice, but when I execute the programme, it takes so long time running and not returning an ans (I have been waiting for > 3 h now), and when I increase the parameter value such as putting N = 100, the command window returns "exceed stacksize" and I am unable to carry on (despite I have already used the stacksize function and set to max)
So I would like to ask how can I improve the speed and even overcome the problem of limited stack size? By a computer with more RAM ? THANKS so much !!!
(I am new to modelling stuff so may be a bit stupid to raise this question ...)