Here is a 2D function, and it cannot be calculated by the FourierTransfrom
n = 2; δ = 0.2;
p[x_, y_] = Cosh[n*Sqrt[2 Pi]*δ*Sqrt[x^2 + y^2]]*Exp[-((δ^2*(x^2 + y^2) + 2 n^2*Pi)/2)];
p[x,y] ContourPlot
and my problem is how to draw a graph about its FourierTransform
Function?
Here is an example:
if I have a function that can be calculated by FourierTransform
like below:
n = 2; δ = 0.2;
p[x_, y_] = Cosh[n*Sqrt[2 Pi]*δ*x]*Cosh[n*Sqrt[2 Pi]*δ*y]*Exp[-((δ^2*x^2+ 2 n^2*Pi)/2)]*Exp[-((δ^2*y^2+ 2 n^2*Pi)/2)];
uu1[tx_, ty_] = FourierTransform[p[x, y], {x, y}, {tx, ty}];
ContourPlot[p[x, y], {x, -40, 40}, {y, -40, 40}]
ContourPlot[uu[tx, ty]^2, {tx, -0.5, 0.5}, {ty, -0.5, 0.5}]
we will get the answer below:
And here, I suppose the function p[x,y] can not use FourierTransform
,I can use the function Fourier
data = Table[p[x, y], {x, -40, 40, 0.4}, {y, -40, 40, 0.4}];
ListDensityPlot[Re[Fourier[data]]]
but the answer is not I wanted! I don't know why? and I hope I can get help from you!