Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: derivative of discrete fourier transform interpolation
Replies: 8   Last Post: Jun 6, 2013 7:24 AM

 Messages: [ Previous | Next ]
 Rusty Posts: 108 Registered: 6/16/05
Re: derivative of discrete fourier transform interpolation
Posted: Sep 30, 2005 4:19 AM

"Gareth Davies" <gd340@uow.edu.au> wrote in message
>
> My problem arises when trying to calculate dx/ds using this interpolation.
> Differentiating term by term, we find
>
> dx/ds(s)= (1/N^2)*2i*pi*sum {n=0...(N-1)} n*Xn*exp(2i*pi*n*s/N)
>
> Now, it seems to me that dx/ds is typically not real valued, even though
> x(s) is real valued.
>
> From this I have 2 questions
>
> 1. Is what I've said above correct??
> 2. What is a better approach to calculating the derivatives.
>
> Thanks,
> Gareth Davies

I think there is an aliasing problem here. Interpolation is well defined
for band-limited data and your formula can be used in the Fourier domain to
do it and get real-valued interpolates. However, if the time data is not
BL, the interpolate is complex valued and so is the derivative.

One solution is to split the spectrum half way and use the formula

x(s)= (1/N)*sum {n=0...(N/2)} Xn*exp(2i*pi*n*s/N) + (1/N)*sum
{n=1...(N/2)-1} Xn*exp(-2i*pi*n*s/N)

noting changes in limits, which is symmetric about the origin. The
imaginary part is very small when I test it. Not sure why it isn't exactly
zero.

rusty.

Date Subject Author
9/30/05 Gareth Davies
9/30/05 Rusty
9/30/05 Rusty
9/30/05 Rusty
9/30/05 Rusty
9/30/05 Peter Spellucci
9/30/05 Steven G. Johnson
10/1/05 Rusty
6/6/13 Wesley