How to estimate the Rn->Rn function (operator) with effective algorithm
Ältere Kommentare anzeigen
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.
Antworten (1)
Matt J
am 9 Jul. 2014
0 Stimmen
lsqcurvefit would be worth considering, if you have a differentiable parametric model for the Rn-->Rn mapping.
2 Kommentare
Fu-Rui Xiong
am 9 Jul. 2014
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.
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!