Description Usage Arguments Examples
View source: R/random.fourier.descriptor.R
Create a new Fourier descriptor object with randomly assigned amplitude along its even frequency components.
1 | random.fourier.descriptor(total.frequencies, non.zero.frequencies = 1, generating.function = function() {return(1)})
|
total.frequencies |
What is the range of frequencies that the descriptor should employ? |
non.zero.frequencies |
How many frequency components should be given non-zero amplitude? Defaults to 1. |
generating.function |
An anonymous function that returns an amplitude weight. The default function adds weight 1 to each new frequency. |
1 2 3 | library('FourierDescriptors')
fd <- random.fourier.descriptor(12)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.