Analysis of Matlab Algorithm Comparison in Temperature Interpolation
This paper describes three interpolation methods:Lagrangian interpolation,piecewise linear interpolation,and cubic spline interpolation.It uses three interpolation methods to interpolate the monthly average temperature from 2009 to 2018 in the case study.In order to better compare the interpolation effects of the three interpolation methods,it uses Matlab software for calculation and plotting,and combines the mean absolute error(MAE)and mean relative error(MRE)formulas to test the accuracy of the interpolation results.
Lagrange interpolationpiecewise linear interpolationcubic spline interpolationMatlab