Many observations from arbitrary PDF

Generate many observations from an arbitrary PDF.
265 Downloads
Updated 22 Apr 2013

View License

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.

Cite As

Jack Peterson (2024). Many observations from arbitrary PDF (https://www.mathworks.com/matlabcentral/fileexchange/41439-many-observations-from-arbitrary-pdf), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Random Number Generation in Help Center and MATLAB Answers
Acknowledgements

Inspired by: Obs. from Arbitrary PDF

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0