randp

pseudorandom integers from a specified discrete distribution

Download
Download

You are now following this Submission

Cite As

Jos (10584) (2026). randp (https://in.mathworks.com/matlabcentral/fileexchange/8891-randp), 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
3.0.1

new image

Download
3.0.0

improved help and coding

Download
2.2.0

slightly more effective algorithm

Download
2.1.0

updated for newer releases

Download
1.14.0

implementation of faster algorithm using histc

Download
1.7.0

MATLAB Central test

Download
1.0.0

fixed error when called with scalar size argument

Download