n-D Lookup Table interpolation method and table output dimension

5 views (last 30 days)
Hello,
I am using an n-D Lookup Table in my Simulink model and I have a problem with the table input and output dimensions with the spline interpolation. It is not possible to get a vector output with spline interpolation. I have an NxMx3 dimensional table and I would like get [1x3] vector output. There is not any problem if I use linear interpolation but I am forced to use 3 n-D lookup tables separating the pages to each of them for spline interpolation. Is this some kind of bug or a limitation with spline interpolation?

Accepted Answer

Swarooph
Swarooph on 9 Sep 2016
This is expected behavior.
The documentation says "If you select Cubic spline, the block supports only scalar signals. The other interpolation methods support nonscalar signals."

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!