powernoise.m

function x = powernoise(alpha, N, varargin)

Helper function for the weakly coupled oscillators tutorial. Generates samples of power law noise. The power spectrum of the signal scales as f^(-alpha).