FourierSeries`
FourierSeries`

NFourierTransform

NFourierTransform[expr,t,ω]

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

Details and Options

  • To use NFourierTransform, 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 NFourierTransform is NIntegrate[expr bωt,{t,-,}].
  • The parameter b in the setting FourierParameters->{a,b} must be numeric.
  • In addition to the option FourierParameters, NFourierTransform can also accept the options available to NIntegrate. These options are passed directly to NIntegrate.

Examples

Basic Examples  (1)

Numerical Fourier transform for a box function:

Compare with the answer from symbolic evaluation: