mardi 12 septembre 2017

Random variable generation with a specific mass function in Matlab

I must write a computer program that, when given a probability mass function {pj , j = 1, . . . , n} as an input, gives as an output the value of a random variable having this mass function. Those are my only informations about the problem and i can't even figure out how to start.Can someone please help me?




Aucun commentaire:

Enregistrer un commentaire