# Math Help - Find an efficient procedure to compute the discrete cosine & sin transforms using fft

1. ## Find an efficient procedure to compute the discrete cosine & sin transforms using fft

Consider the discrete cosine and sine transforms of a real sequence of numbers
${x_j, j=0,....,2N-1}$

$C_k = \sum_{j=0}^{2N-1} x_j cos(\frac{jk\pi}{N}),$
$S_k = \sum_{j=0}^{2N-1} x_j sin(\frac{jk\pi}{N})$

Find an efficient procedure to compute $C_k, S_k$ using a Fast Fourier Transform of $\{x_j, j=0,...2N-1\}$.

Can someone give me a hint/explain to me the way to go about doing this problem? I am completely lost. Thanks!

2. ## Re: Find an efficient procedure to compute the discrete cosine & sin transforms using

Originally Posted by drewprogden

Consider the discrete cosine and sine transforms of a real sequence of numbers
${x_j, j=0,....,2N-1}$

$C_k = \sum_{j=0}^{2N-1} x_j cos(\frac{jk\pi}{N}),$
$S_k = \sum_{j=0}^{2N-1} x_j sin(\frac{jk\pi}{N})$

Find an efficient procedure to compute $C_k, S_k$ using a Fast Fourier Transform of $\{x_j, j=0,...2N-1\}$.

Can someone give me a hint/explain to me the way to go about doing this problem? I am completely lost. Thanks!

What is the real part of the DFT of a real sequence? What is the imaginary part?

CB