Community Profile

photo

Margherita Premoli


Last seen: quasi 4 anni fa Attivo dal 2020

Statistiche

  • Thankful Level 1

Visualizza badge

Content Feed

Visto da

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 2 risposte | 1

2

risposte

Domanda


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

circa 4 anni fa | 2 risposte | 0

2

risposte