电子技术2024,Vol.53Issue(3) :58-60.

气温插值中的Matlab算法比较分析

Analysis of Matlab Algorithm Comparison in Temperature Interpolation

万顺妹
电子技术2024,Vol.53Issue(3) :58-60.

气温插值中的Matlab算法比较分析

Analysis of Matlab Algorithm Comparison in Temperature Interpolation

万顺妹1
扫码查看

作者信息

  • 1. 黄冈职业技术学院,湖北 438000
  • 折叠

摘要

阐述拉格朗日插值、分段线性插值、三次样条插值三种插值方法.运用三种插值方法对案例中2009~2018年的逐月平均气温进行插值.为了更好地比较三种插值方法的插值效果,利用Matlab软件进行计算、绘图,并结合平均绝对误差(MAE)和平均相对误差(MRE)公式对插值结果进行精度检验.

Abstract

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.

关键词

拉格朗日插值/分段线性插值/三次样条插值/Matlab

Key words

Lagrange interpolation/piecewise linear interpolation/cubic spline interpolation/Matlab

引用本文复制引用

出版年

2024
电子技术
上海市电子学会,上海市通信学会

电子技术

影响因子:0.296
ISSN:1000-0755
参考文献量4
段落导航相关论文