Code covered by the BSD License  

Highlights from
Many observations from arbitrary PDF

Be the first to rate this file! 12 Downloads (last 30 days) File Size: 1.39 KB File ID: #41439

Many observations from arbitrary PDF

by

 

Generate many observations from an arbitrary PDF.

| Watch this File

File Information
Description

Generates N random numbers from an arbitrary PDF, defined by vectors x and y. This is just a slightly modified version of Dave Dykes' randarb.m (http://www.mathworks.com/matlabcentral/fileexchange/6506-obs-from-arbitrary-pdf) that is optimized for generating many random observations.

Acknowledgements

Obs. From Arbitrary Pdf inspired this file.

Required Products MATLAB
MATLAB release MATLAB 7.12 (R2011a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us