n-D Lookup Table interpolation method and table output dimension

조회 수: 16 (최근 30일)
Ahmed
Ahmed 2016년 9월 8일
답변: Swarooph 2016년 9월 9일
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?

채택된 답변

Swarooph
Swarooph 2016년 9월 9일
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개)

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by