科学与信息化2024,Issue(3) :91-93.

浅析两种常用的直线拟合方法

Analysis on Two Commonly Used Straight-Line Fitting Methods

李朋 周鹏 王石磊
科学与信息化2024,Issue(3) :91-93.

浅析两种常用的直线拟合方法

Analysis on Two Commonly Used Straight-Line Fitting Methods

李朋 1周鹏 1王石磊1
扫码查看

作者信息

  • 1. 宁波润华全芯微电子设备有限公司 浙江 宁波 315400
  • 折叠

摘要

本文浅析了2种直线拟合的方法,并对两种方法拟合直线的精度和算法复杂度进行了分析.这2种方法的基本思路都是基于最小二乘法,但是从计算的复杂性方面存在一定的差别,针对2种算法在Matlab平台上进行拟合,并对相应的结果进行了分析,同时也给出了拟合的部分代码作为参考.

Abstract

In this paper,the two straight-line fitting methods are briefly analyzed,and the accuracy and algorithm complexity of the two methods for fitting straight lines are analyzed.The basic idea of both methods is based on the least squares method,but there are certain differences in the complexity of the calculation,and the two algorithms are fitted on the Matlab platform and the corresponding results are analyzed.At the same time,the part of the fitting codes is also given as a reference.

关键词

直线拟合/最小二乘法/对比分析/代码

Key words

straight-line fitting/least square method/comparative analysis/code

引用本文复制引用

出版年

2024
科学与信息化

科学与信息化

ISSN:
参考文献量4
段落导航相关论文