(Need Help) How to Obtain 2D Interpolation Coefficient?
5 views (last 30 days)
Show older comments
I have a pre-setup 2D matrix whose size is [N x N].
Using this data, I want to find the each coefficient k in the below specific funtion.
z=k11*x^2+k22*y^2+...
k12*x*y+...
k1*x+k2*y+k0;
What's the simplest way to obtain these coefficients in Matlab?
It seems that the command 'interp2' does not provide these coefficients.
2 Comments
Matt J
on 29 Oct 2021
You have y on both the left and right hand side of the equation. Are they the same y or did you mean
z=k11*x^2+k22*y^2+...
k12*x*y+...
k1*x+k2*y+k0;
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!