Impulsively distributed random number generator

Set of functions used to create a 1-by-N random real vector with impulsive distribution.

You are now following this Submission

With these functions we can generate a impulsively distributed random real vector of length N. The function algorithm uses the following PDF and CDF to build this vector:
PDF: f( x ) = c / ( b - a ) + ( 1 - c ) * d( x ), where d( x ) is the Dirac delta function.
and
CDF: F( x ) = c * ( x - a ) / ( b - a ) + ( 1 - c ) * u( x ), where u( x ) is the step function.

Cite As

Jefferson Osowsky (2026). Impulsively distributed random number generator (https://www.mathworks.com/matlabcentral/fileexchange/73336-impulsively-distributed-random-number-generator), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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