randnd

N-dimensional 1/beta (e.g. pink, brown, blue) noise generation via spectral shaping of white noise
235 Downloads
Updated 8 Nov 2019

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
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Weather and Atmospheric Science 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!

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

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.