randnd
This function is a "decorator" for the Matlab in-build 'randn' function. It takes an additional first argument (beta) which shapes the spectral characteristic of the data (in all dimensions) as f^beta. The output data is scaled to the original mean and standard deviation.
Cite As
Marcin Konowalczyk (2024). randnd (https://github.com/MarcinKonowalczyk/randnd), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Generate spatial data, Pink, Red, Blue and Violet Noise Generation with Matlab
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.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.5.0.0 | Linked to GitHub |
|
|
1.4.0.0 | Put more generous bounds on 'beta' |
||
1.3.1.0 | Changed the title back to 'randnd' |
||
1.3.0.0 | Updated for circshift compatibility with matlab 2012a |
||
1.2.0.0 | Changed the title |
||
1.1.0.0 | Corrected the 1/beta scaling from amplitude to power scaling |
||
1.0.0.0 |