dimanche 31 juillet 2022

How can I code a variable in C++ to follow a distribution from the given graph? [closed]

Empirical CDF of the variable

I have to code a variable Pr (received signal power) in C++ such that it follows the given graph. I am required to use inverse CDF method to generate random numbers to achieve the same. Can someone tell me about the code to do so.




Aucun commentaire:

Enregistrer un commentaire