- #1
confused_engineer
- 39
- 2
- TL;DR Summary
- I have a matrix of data and X, Y position where it was recorded. I want to find out a suitable interpolation polinomial but I don't know how to obtain one of reasonable order.
Hello everyone.
I have a vector of size 300321*3; the columns are X position, Y position and recorded data; I need to find the interpolation polynomial. I have acess to mathematica, MATLAB and python.
I have attempted to use a NonlinearModelFit in mathematica, but I cannot achieve a Rsquared superior to 0.6 by constructing models by hand, that is why I want to use the interpolation polynomial instead. However, if I use the InterpolatingPolynomial function, my computer crashes and even if it didn't, the result would be useless since a polinomial of order 300321 would make no sense.
In Matlab, I have tested the function griddedinterpolant, which produces good results, however, the function does not return a polynomial, but only a grid with more points instead, these aditional ones calculated using the interpolation and located between the originaly provided.
Can someone please advice me on how to proceed?
Regards.
Confused engineer
I have a vector of size 300321*3; the columns are X position, Y position and recorded data; I need to find the interpolation polynomial. I have acess to mathematica, MATLAB and python.
I have attempted to use a NonlinearModelFit in mathematica, but I cannot achieve a Rsquared superior to 0.6 by constructing models by hand, that is why I want to use the interpolation polynomial instead. However, if I use the InterpolatingPolynomial function, my computer crashes and even if it didn't, the result would be useless since a polinomial of order 300321 would make no sense.
In Matlab, I have tested the function griddedinterpolant, which produces good results, however, the function does not return a polynomial, but only a grid with more points instead, these aditional ones calculated using the interpolation and located between the originaly provided.
Can someone please advice me on how to proceed?
Regards.
Confused engineer