Description Usage Arguments Details Author(s) References See Also Examples
This function rearranges one vector, X, to mimic the spectrum of another vector, Y.
1 | spec_mimic(X, Y = NULL, gamma = 1)
|
X |
numeric vector. |
Y |
if not NULL, a numeric vector. |
gamma |
power of the 1/f noise; used only if Y is NULL. |
If Y is NULL, this function will use [one_over_f()] to generate a random series with power = gamma.
Hank Stevens
J. M. Halley. Ecology, evolution and 1/f-noise. Trends in Ecology & Evolution, 11:33-37, 1996. O. L. Petchey, A. Gonzalez, and H. B. Wilson. Effects on population persistence: the interaction between environmental noise colour, intra-specific competition and space. Proceedings of the Royal Society of London Series B, 264:1841-1847, 1997. J. E. Cohen, C. M. Newman, A. E. Cohen, O. L. Petchey, and A. Gonzalez. Spectral mimicry: a method of synthesizing matching time series with different Fourier spectra. Circuits, Systems and Signal Processing, 18:431-442, 1999.
[one_over_f()] to generate 1/f noise; [plot_f()] to plot the time series and the spectrogram of the series.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.