NFourierTransform


gives a numerical approximation to the Fourier transform of expr evaluated at the numerical value ω, where expr is a function of t.

DetailsDetails

  • To use , you first need to load the Fourier Series Package using Needs["FourierSeries`"].
  • The numerical approximation to the Fourier transform of expr is by default defined to be NIntegrate[expr ωt,{t,-,}].
  • Different choices for the definition of the Fourier transform can be specified using the option FourierParameters.
  • With the setting FourierParameters->{a,b}, the Fourier transform computed by is NIntegrate[expr bωt,{t,-,}].
  • The parameter b in the setting FourierParameters->{a,b} must be numeric.
  • In addition to the option FourierParameters, can also accept the options available to NIntegrate. These options are passed directly to NIntegrate.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

In[1]:=
Click for copyable input

Numerical Fourier transform for a box function:

In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=

Compare with the answer from symbolic evaluation:

In[4]:=
Click for copyable input
Out[4]=
In[5]:=
Click for copyable input
Out[5]=
In[6]:=
Click for copyable input
Out[6]=