Many observations from arbitrary PDF

Generate many observations from an arbitrary PDF.

You are now following this Submission

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 (2026). Many observations from arbitrary PDF (https://www.mathworks.com/matlabcentral/fileexchange/41439-many-observations-from-arbitrary-pdf), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Obs. from Arbitrary PDF

Categories

Find more on Random Number Generation in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0