symsum undefined error for input arguments
Hi, I need to sum the variable Dmet(b,t) over b, which varies from 1 to b-1. The variable Dmet is the demand met at a certain d...
bijna 2 jaar ago | 1 answer | 0
select random number from an array with probabilities
I have an array of three element: S=[4 3.9 3.8] and I want to randomly select one of those three numbers. The probability of sel...
bijna 2 jaar ago | 1 answer | 1
Index in position 2 exceeds array bounds (must not exceed 1).
Hi, this is part of my code and I have the problem at this line : Dmet(t,b)= min(I(t,b),D(t)- symsum(Dmet(t,b),a,1,b-1)) . May...
bijna 2 jaar ago | 2 answers | 0