Simulate outage probability or CDF
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
mutah
le 26 Déc 2013
Commenté : Slaheddine Welhazi
le 30 Avr 2022
Hi all
I have the CDF (cumulative distribution function) for my function
I want to make simulation for this CDF ? not plot it?
How can i do this ?
1 commentaire
Slaheddine Welhazi
le 30 Avr 2022
I want to simulate SOP for differents value of density (poisson point process)
Réponse acceptée
Roger Stafford
le 26 Déc 2013
One commonly-used method involves matlab's 'rand' function and the inverse of the cdf function. Let p = F(c) be the cumulative distribution function, that is the probability p that a given random variable, r, is less than or equal to c. Let c = G(p) be its inverse function. Then the following simulates n sequential values of that random variable:
r = G(rand(n,1));
0 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!