(Need Help) How to Obtain 2D Interpolation Coefficient?

9 views (last 30 days)
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.
What's the simplest way to obtain these coefficients in Matlab?
It seems that the command 'interp2' does not provide these coefficients.
Changwoo Lee
Changwoo Lee on 29 Oct 2021
Edited: Changwoo Lee on 29 Oct 2021
The equation in reply is correct. I modified the equation in my question.

Sign in to comment.

Accepted Answer

Matt J
Matt J on 29 Oct 2021
Edited: Matt J on 29 Oct 2021
If you have the Curve Fitting Toolbox, you can follow this example
except you would use the 'poly22' model instead of 'poly44'
If you don't have the toolbox, then see one of these FEX submissions.

More Answers (0)


Find more on Interpolation in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!

Translated by