power law distribution, How could I generate random variables from the truncated power -law distribution and its PDf?
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
amberly hadden
el 6 de Oct. de 2014
Comentada: Image Analyst
el 9 de Oct. de 2014
How could I generate random variables from the truncated power -law distribution and its PDf?
0 comentarios
Respuesta aceptada
Image Analyst
el 6 de Oct. de 2014
You need to use inverse transform sampling. I attached a demo where I use it to get random numbers from a Rayleigh distribution.
11 comentarios
Image Analyst
el 9 de Oct. de 2014
You're welcome. Since I solved your problem, could you go ahead and mark the Answer as "Accepted" so I get credit for it? Thanks in advance.
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!