Thanks Kalevi! When will Sympy get updated and be able to compute fourier transform of difficult functions? I tried this in matlab and it can do it no prob using the symbolic toolbox.
On Tuesday, April 20, 2021 at 12:01:13 PM UTC+1 jks...@gmail.com wrote: > Fourier transform is currently implemented in SymPy only for integrable > functions. None of those functions is integrable so SymPy cannot be used > find the transform. > > Kalevi Suominen > > On Tuesday, April 20, 2021 at 11:38:08 AM UTC+3 aTPer wrote: > >> I am trying to compute the integral fourier transform of >> sin(t),cos(t),-1/t^2 and 2/t^3(look at screenshot). This for checking >> answers for maths homework/tutorials. >> So, I went to the Sympy documentation page and learned the code from >> there to compute the FTs of the functions defined above but none of it >> actually works. Then, I tried using the noconds=False This is my code: >> >> from sympy import fourier_transform, exp, cos, sin >> from sympy.abc import t,w,o >> fourier_transform(sin(o*t), t, w, noconds=False) >> fourier_transform(cos(o*t), t, w, noconds=False) >> fourier_transform(-1/t**2, t, w, noconds=False) >> fourier_transform(2/t**3, t, w, noconds=False) >> >> https://i.stack.imgur.com/90eo8.png >> > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/5ca06418-c1c3-4a7e-b5ee-31bc25d018b2n%40googlegroups.com.