Simulate outage probability or CDF

조회 수: 5 (최근 30일)
mutah
mutah 2013년 12월 26일
댓글: Slaheddine Welhazi 2022년 4월 30일
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
Slaheddine Welhazi
Slaheddine Welhazi 2022년 4월 30일
I want to simulate SOP for differents value of density (poisson point process)

댓글을 달려면 로그인하십시오.

채택된 답변

Roger Stafford
Roger Stafford 2013년 12월 26일
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개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by