{\displaystyle X_{k}=\sum _{j=0}^{N-1}x_{j}\cos \left[{\frac {\pi }{N}}\left(j+{\frac {1}{2}}\right)\left(k+{\frac {1}{2}}\right)\right]\quad \quad k=0,\dots ,N-1.}