n-D Lookup Table interpolation method and table output dimension
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Ahmed
el 8 de Sept. de 2016
Respondida: Swarooph
el 9 de Sept. de 2016
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 comentarios
Respuesta aceptada
Swarooph
el 9 de Sept. de 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Interpolation en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!