File Exchange

image thumbnail


version (45.4 KB) by Marcin Konowalczyk
N-dimensional 1/beta (e.g. pink, brown, blue) noise generation via spectral shaping of white noise


Updated 08 Nov 2019

GitHub view license on GitHub

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 (2020). randnd (, GitHub. Retrieved .

Comments and Ratings (1)

Praful Gupta


Linked to GitHub

Put more generous bounds on 'beta'

Changed the title back to 'randnd'

Updated for circshift compatibility with matlab 2012a

Changed the title

Corrected the 1/beta scaling from amplitude to power scaling

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux