Generates the sine and cosine functions of order j, j=1,...,m.
fgentrig(n,m)
Sample size
m sine and m cosine functions
x The functions sin(pi*j*(1:n)/n) and cos(pi*j*(1:n)/n) for j=1,...,m.
# NOT RUN { trig100<-fgentrig(100,50)[[1]] # }
Run the code above in your browser using DataLab