Function Repository Resource:

NInverseFourierCoefficient

Source Notebook

Find a numerical approximation for a function with a given Fourier exponential series

Contributed by: Wolfram Research

ResourceFunction["NInverseFourierCoefficient"][expr,n,t]

gives a numerical approximation to the function, evaluated at t, whose Fourier exponential series representation has coefficients given by expr, where expr is a function of n.

Details and Options

The numerical approximation to the Fourier exponential series representation used by ResourceFunction["NInverseFourierCoefficient"] is by default defined to be .
Different choices for the definition of the Fourier exponential series representation can be specified using the option FourierParameters.
With the setting FourierParameters{a,b}, the Fourier exponential series representation used by ResourceFunction["NInverseFourierCoefficient"] is .
The parameter b in the setting FourierParameters{a,b} must be numeric.
In addition to the option FourierParameters, ResourceFunction["NInverseFourierCoefficient"] can also accept the options available to NSum. These options are passed directly to NSum.

Examples

Basic Examples (2) 

Numerical approximation for a function with a given Fourier series:

In[1]:=
ResourceFunction["NInverseFourierCoefficient"][1/(2 n + 1)^3, n, 0.8]
Out[1]=

Compare with the answer from symbolic evaluation:

In[2]:=
ResourceFunction["NInverseFourierCoefficient"][1/(2 n + 1)^3, n, 0.8]
Out[2]=
In[3]:=
ResourceFunction["InverseFourierCoefficient"][1/(2 n + 1)^3, n, t]
Out[3]=
In[4]:=
% /. {t -> 0.8}
Out[4]=

Requirements

Wolfram Language 11.3 (March 2018) or above

Version History

  • 1.0.0 – 11 March 2019

Related Resources

License Information