Fourier transform of a constant [closed]
$I=\int_{-\infty}^{\infty}c\exp(-i\omega t)dt.$
The problem is given above. How to solve it numerically? The analytically solved answer is a real number. Thanks in advance.
If $c=0$ then $I=0.$ If $c$ is not equal to $0$ then $$ \int_{-\infty}^{\infty}c \exp(-i\omega t) =\frac{ic}{\omega}\exp (-i \omega t)|_{-\infty}^{\infty} $$ which does not converge.