I want to calculate this integral:
$$\int_{-\infty}^{\infty} \frac{\exp\left(-i\sqrt{(\xi^2 - k^2)(y -y')} -i\xi(x - x')\right)}{-i\sqrt{\xi^2 - k^2}}d\xi$$
I can not calculate this integral, I can try to calculate with Matlab, but I don't know exactly Matlab code. Does anyone have any advice for me? We can think x-x' and y-y' are constant.
The attached code will do your calculations for various values of $k$.
Ps: If you find it difficult to understand the code, let me know.