MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Reassembling Fourier Transforms

  • To: mathgroup at
  • Subject: [mg48929] Re: Reassembling Fourier Transforms
  • From: astanoff_otez_ceci at (astanoff)
  • Date: Thu, 24 Jun 2004 05:35:46 -0400 (EDT)
  • References: <cb0ut2$r67$>
  • Sender: owner-wri-mathgroup at

Lee Fisher wrote:

> I am trying to turn a list of points into a function, and one of the
> ways I thought to do this was to use Fourier to find the frequency
> components of the list, and then to Create a sum of exponentials 
Why not simply use Interpolation?
(InterpolatingFunction is compatable with NDSolve)
For instance :




In[4]:=c=Interpolation[tf, InterpolationOrder -> 1];

sol=First@NDSolve[y'[u] == y[u]/10+c[u] && y[1] == 1,y[u],{u,1,20}]

Out[5]={y[u] -> InterpolatingFunction[{{1.,20.}},<>][u]}

In[6]:=g[u_]=y[u] /. sol


0% de pub! Que du bonheur et des vrais adhérents !
Vous aussi inscrivez-vous sans plus tarder!!
Message posté à partir de, BBS actif depuis 1995.

  • Prev by Date: Re: basic question about plotting 2 functions in one graph
  • Next by Date: RE: Chaitin lisp.m syntax errors?
  • Previous by thread: Re: Reassembling Fourier Transforms
  • Next by thread: AW: Simplifying a large matrix into an equation using M