Code covered by the BSD License  

Highlights from
PDFsampler

Be the first to rate this file! 20 Downloads (last 30 days) File Size: 2.46 KB File ID: #41689

PDFsampler

by

 

A simple and handy PDF (Probability Distribution Function) re-constructor and sampler.

| Watch this File

File Information
Description

PDFsampler is a MATLAB class that serves as a random number generator for custom probability distribution functions and is particularly useful for Monte Carlo simulations. Objects of this class are initialized using samples of your custom distribution of using histogram data of your PDF. It is well documented and pretty straight forward to use.

Required Products MATLAB
MATLAB release MATLAB 8.0 (R2012b)
Other requirements The class makes use of core MATLAB functions and is expected to be backwards compatible with older versions.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
18 Oct 2013 Pantelis Sopasakis

An example of use can be found at https://gist.github.com/alphaville/7041800

Contact us