Generate Random Numbers from a 2D Discrete Distribution

Random numbers from any 2D discrete probability distribution, at any resolution.

Download
Download

You are now following this Submission

Cite As

Tristan Ursell (2026). Generate Random Numbers from a 2D Discrete Distribution (https://www.mathworks.com/matlabcentral/fileexchange/35797-generate-random-numbers-from-a-2d-discrete-distribution), MATLAB Central File Exchange. Retrieved .

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.3.0

na

Download
1.2.0

bug fix

Download
1.1.0

fixed negative values due to interpolation

Download
1.0.0

Download