n-D Lookup Table interpolation method and table output dimension
5 views (last 30 days)
Show older comments
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/156207/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/156208/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/156209/image.jpeg)
0 Comments
Accepted Answer
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."
0 Comments
More Answers (0)
See Also
Categories
Find more on Interpolation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!