gausscov (version 0.0.4)

fgentrig: generation of sine and cosine functions

Description

Generates the sine and cosine functions of order j, j=1,...,m.

Usage

fgentrig(n,m)

Arguments

n

Sample size

m

m sine and m cosine functions

Value

x The functions sin(pi*j*(1:n)/n) and cos(pi*j*(1:n)/n) for j=1,...,m.

Examples

Run this code
# NOT RUN {
trig100<-fgentrig(100,50)[[1]]
# }

Run the code above in your browser using DataLab