powernoise function

A function to generate k-noise

A function to generate k-noise

Generates samples of power law noise.

powernoise(k, N)

Arguments

  • k: Power law scaling exponent
  • N: number of samples to generate

Returns

A named list with three entries is returned. x - N x 1 vector of power law samples

Details

Generates samples of power law noise. The power spectrum of the signal scales as f^(-k). The R function uses fft(), similarly to the knoise_fft Matlab function.

Examples

powernoise_series = powernoise(k=2, N=10000)

Author(s)

Sebastian Sippel and Holger Lange

  • Maintainer: Sebastian Sippel
  • License: GPL-2
  • Last published: 2019-10-28

Useful links