n-D Lookup Table interpolation method and table output dimension

5 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

Swarooph
Swarooph il 9 Set 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."

Più risposte (0)

Categorie

Scopri di più su Splines in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by