Source: http://www.ee.nmt.edu/~rison/ee341_fall04/lectures/041018/fourier.pdf