I'm working with financial data. I used "Find Formula" to find an approximate function and then I applied FourierTransform to it. Here are the function and the Fourier Transform:
Piecewise[{{-(0.000025535553901890394*x^3) + 0.02627291228784321*x^2 - 2.4718313381236383*x + 6613.444314492878, Inequality[0, LessEqual, x, Less, 180.63799223782598]},
{-(0.000024827301823201077*x^3) + 0.025612019235675774*x^2 - 1.6524680198482025*x + 6673.441026313368, Inequality[180.63799223782598, LessEqual, x, Less, 754.]},
{8.146107735777057*^-10*x^5 - 4.863008306471559*^-6*x^4 + 0.011447005002344341*x^3 - 13.254665570903722*x^2 + 7538.799913755797*x - 1.672702391929518*^6, Inequality[754., LessEqual, x, Less, 1507.]}}]
FourierTransform[myfunction, x, ω, FourierParameters -> {0, -2*Pi}] // FullSimplify
1/ω^6 (ω^2 (-1.00612*10^-7 + ω ((0. + 0.000216807 I) + (0.0448746 - (0. + 1048.16 I) ω) ω)) + E^((0. - 9468.76 I) ω) ((1.58874*10^-12 + 1.79366*10^-43 I) + ω ((4.1359*10^-25 +
3.125*10^-9 I) + ω ((-2.43689*10^-6 - 1.38063*10^-21 I) + ω ((6.02389*10^-19 - 0.000905295 I) + ((0.323991 - 4.44089*10^-16 I) - (9.09495*10^-13 - 2100.38 I) ω) ω)))) + E^((0. - 4737.52 I) ω) (-1.58874*10^-12 + ω ((0. +
4.39169*10^-9 I) + ω (5.534*10^-6 + ω \((1.30104*10^-18 - 0.00343142 I) + (-1.47173 + (7.10543*10^-15 - 57.394 I) ω) ω)))))
I tried to plot the Fourier Transform but the output is an empty plot. How could I fix this?
Abs[ft]^2
instead, whereft
is your expression. The function diverges at $\omega = 0$, it seems. $\endgroup$