Impulsively distributed random number generator
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
|
