random.fourier.descriptor: Create a new Fourier descriptor object with randomly assigned...

Description Usage Arguments Examples

View source: R/random.fourier.descriptor.R

Description

Create a new Fourier descriptor object with randomly assigned amplitude along its even frequency components.

Usage

1
random.fourier.descriptor(total.frequencies, non.zero.frequencies = 1, generating.function = function() {return(1)})

Arguments

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.

Examples

1
2
3
library('FourierDescriptors')

fd <- random.fourier.descriptor(12)

johnmyleswhite/FourierDescriptors documentation built on May 19, 2019, 5:17 p.m.