Community Profile

photo

Margherita Premoli


Last seen: bijna 4 jaar ago Active since 2020

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


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...

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


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...

ongeveer 4 jaar ago | 2 answers | 1

2

answers

Question


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...

ongeveer 4 jaar ago | 2 answers | 0

2

answers