Description Usage Arguments See Also

generates cosine waves with fixed periods but random
amplitudes and systematic phase shifts and sampled
at varying resolution to test phase recovery performance
via Discrete Fourier Transformation in `calculatePhase`

.
TODO: allow random phases, noise on period and general
addition of noise

1 2 |

`n` |
number of cosines to generate |

`cyc` |
numbers of cycles to generate |

`T` |
period |

`res` |
resolution: samples per period |

`xlim` |
x-axis range to show, defaults to one period |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.