# linear interpolator replacement for the sinc function

How to find an optimum linear interpolator replacement for the ideal sinc function? The reason is for the hardware implementation ease.

For example when I use sinc interpolation:

Temp = sinc( (-7:7)+0.1697 ) * ADC( (0:14)+2 )';


I get 0.9509; however with linear interpolation:

yi = interp1((0:14)+2 , ADC((0:14)+2) , (0:14)+2-0.1697 , 'linear');
Temp = yi(8);


I get Temp = 0.8410. Is there any better interpolation possible with linear?

Thanks

• how is a linear interpolator "optimized" beyond linear interpolation? – robert bristow-johnson Apr 9 '15 at 21:29
• what is the question? – Andreas H. Apr 9 '15 at 22:29
• I have edited my question according to the above comments. – Elnaz Apr 9 '15 at 22:42
• @ robert bristow-johnson, I mean in regards with the frequency response. – Elnaz Apr 9 '15 at 22:46
• @Elnaz, I don't think you understand how many degrees of freedom there are to be optimised for a linear interpolator. The exact number is 0. – Jazzmaniac Apr 9 '15 at 22:59