File Exchange

image thumbnail

randnd

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

11 Downloads

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 (2019). randnd (https://www.github.com/MarcinKonowalczyk/randnd), GitHub. Retrieved .

Comments and Ratings (1)

Updates

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

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