Thread Closed

Efficient Implemention of Lagrange Quadratic Interpolation in C?

 
Share Thread Thread Tools
Jun14-06, 08:04 PM   #1
 

Efficient Implemention of Lagrange Quadratic Interpolation in C?


Hi,

So basically, my understanding of lagrange quadratic is this

a(T) = L0( T )a( T0 ) + L1(T)a(T1) + L2(T)a(T2)

with L0(T) = ( (T - T1)/(T0 - T1) )( (T - T2)/(T0 - T2))
etc with L1(T) and L2(T)

On paper, a few addition, multiplication, and even a division. Isn't hard at all.

However, I'm doing this on a DSP, so no division. The target is 8X interpolation in time domain. My input is random complex number represented by a real array and an complex array(int16).

What is confusing me is this: I have a report on the same interpolation implemented on the same DSP(same random complex input, 8x). It mentions that the "interpolation coefficients" are generated by a seperated C program and is hard coded in the memory.

What exactly are these magical fixed coefficients? To me, it looks like L0(T), L1(T), and L2(T) need to be recompute for every sample. The coefficients seem to be refering to some kind of filtering technique in work here. Am I missing something?

Thanks
PhysOrg.com
PhysOrg
mathematics news on PhysOrg.com

>> Mathematicians analyze social divisions using cell phone data
>> Can math models of gaming strategies be used to detect terrorism networks?
>> Mathematician proves there are infinitely many pairs of prime numbers less than 70 million units apart
Thread Closed
Thread Tools


Similar Threads for: Efficient Implemention of Lagrange Quadratic Interpolation in C?
Thread Forum Replies
Lagrange Interpolation Programming & Comp Sci 14
Using quadratic interpolation in matlab how ? Math & Science Software 6
Hermite Interpolation using Lagrange Interpolating Poly General Math 0
lagrange interpolation polynomial Calculus & Beyond Homework 1
lagrange interpolation filter design in matlab Math & Science Software 0