Impulsively distributed random number generator

Set of functions used to create a 1-by-N random real vector with impulsive distribution.
33 Downloads
Updated 12 Nov 2019

View License

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 (2025). Impulsively distributed random number generator (https://se.mathworks.com/matlabcentral/fileexchange/73336-impulsively-distributed-random-number-generator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Signal Generation, Analysis, and Preprocessing in Help Center and MATLAB Answers

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