How to estimate the Rn->Rn function (operator) with effective algorithm
显示 更早的评论
Hi everybody,
I'm doing a blackbox like estimation of a Rn->Rn mapping. I have a few sampling points, which can be regarded as the known knowledge for the supervision learning. My objective is to acquire the interpolation over a bounded range in Rn, which is equivalent as estimating the Rn->Rn blackbox function (operator). I learnt that matlab build in function interpn can only dealt with scalar function, namely, Rn->R1. I wonder, this there any effective algorithm that can be easily customized for such estimation/interpolation. Thanks in advance.
回答(1 个)
Matt J
2014-7-9
0 个投票
lsqcurvefit would be worth considering, if you have a differentiable parametric model for the Rn-->Rn mapping.
2 个评论
Fu-Rui Xiong
2014-7-9
If it's just a question of how to get vector-valued output from interpn, there' no reason you can't call interpn n times, once for each component of the output. In other words, if the mapping is
y=F(x)=[F_1(x) F_2(x) ... F_n(x)]
you can just evaluate each scalar function F_i(x) by interpn, griddedInterpolant, or scatteredInterpolant, whichever is the most appropriate.
类别
在 帮助中心 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!