Interpolation of multivariable function for dynamic programming

Hello,
I have a multivariable function, Φ, that I am trying to update numerically using dynamic programming (value function iteration). More specifically, I have three state variables, X1(3 grids), X2(2 GRIDS) and X3(2) grids. (Number of grids given as example)
Based on this grid i construct a grid space (3*3*2) which gives me the values of a function (Φ) at those grid space as:
2.PNG
I am curious if i can interpolate this function using interp3
something like interp3(X,Y,X0,'linear','extrap') where X are the columns of the grid and Y are the functional values corresponding to that grid and X0 is a 1*3 matrix,
3.PNG

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeInterpolation についてさらに検索

製品

リリース

R2016a

質問済み:

2019 年 5 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by