ImageAnalyst <imageanalyst@mailinator.com> wrote in message <71db26a7-0921-4dab-b943-fd7d17fe7829@v41g2000yqv.googlegroups.com>...
> If people don't have the randsample() function (like I don't), you can
> do it by computing the cdf of your desired pdf, then inverting your
> cdf and running a uniform distribution of random numbers through it.
> I've given more details a few weeks ago with some guy who wanted a
> Rayleigh distribution if anyone is interested.
I'm planning on using this method, would you be able to provide a link to this thread, ImageAnalyst? Thanks
> If people don't have the randsample() function (like I don't), you can
> do it by computing the cdf of your desired pdf, then inverting your
> cdf and running a uniform distribution of random numbers through it.
> I've given more details a few weeks ago with some guy who wanted a
> Rayleigh distribution if anyone is interested.
I'm planning on using this method, would you be able to provide a link to this thread, ImageAnalyst? Thanks