Community Profile

photo

Margherita Premoli


Last seen: 4 mesi ago
3 total contributions since 2020

Margherita Premoli's Badges

  • Thankful Level 1

View details...

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

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

6 mesi ago | 1 answer | 0

1

answer

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

6 mesi ago | 2 answers | 0

2

answers