Is there any fast way to compute the barycentric Lagrange interpolation using matlab? something more faster than using repmat instead of for loops

  • $\begingroup$ Can you show us what you're doing now (code/minimal example)? "Fast" is obviously relative. $\endgroup$ Jul 19 '14 at 2:11
  • $\begingroup$ @DougLipinski I am going to use lagrange interpolation on chebyshev nodes. As i searched Barycentric Interpolation is a fast way to implement lagrange interpolation. Somewhere else i have read about Clenshaw method to do the interpolation on chebyshev node which is apparently faster than Barycentric since it uses FFT. Is that true? How can i use Clenshaw method? $\endgroup$ Jul 19 '14 at 9:38
  • $\begingroup$ I would suggest that you look into chebfun to see how it does barycentric interpolation. chebfun is really fast. chebfun overloads interp1 function to implement barycentric interpolation. Also see the book of Trefethen. $\endgroup$
    – cfdlab
    Jul 19 '14 at 15:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.