4D, cubic spline lookup table is returing incorrect interpolated values

2 views (last 30 days)
Hello,
I try to use a 4-Dimensional lookup table in Simulink, but it appears to return (in my opinion) incorrect values if I compare it with the interpn() method in Matlab. The lookup table uses cubic spline interpolation, and clipping as extrapolation method (although it does not get out of bounds). See the two figures as comparison:
Is there a fundamental difference between the two methods I do not know of?
Thank you for your help!

Answers (0)

Categories

Find more on Interpolation in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!