首页 | 本学科首页   官方微博 | 高级检索  
     

基于VC++和Matcom混合编程的函数最佳拟合的确定
引用本文:李宝方,关永,沈孝本,赵冬生. 基于VC++和Matcom混合编程的函数最佳拟合的确定[J]. 计算机工程与设计, 2007, 28(12): 2980-2982
作者姓名:李宝方  关永  沈孝本  赵冬生
作者单位:首都师范大学,信息工程学院,北京,100037;首都师范大学,信息工程学院,北京,100037;首都师范大学,信息工程学院,北京,100037;首都师范大学,信息工程学院,北京,100037
基金项目:北京市高等学校教育教学改革立项基金 , 北京市教委科技发展计划项目 , 北京市自然科学基金
摘    要:工程中对得到的实验数据进行拟合,常采用最小二乘法,拟合函数多采用代数多项式.但当多项式次数比较大时,会出现病态问题,从而导致计算结果误差增大,于是在拟合时应避免产生过高次数的多项式,就有必要确定次数较低的最佳拟合.针对基本初等函数,论述确定最佳拟合的方法,并结合VC 和Matcom混合编程,快速准确实现最佳拟合.通过分析实验结果,证明了方法的有效性.

关 键 词:数据拟合  最小二乘法  代数多项式  最佳拟合  混合编程
文章编号:1000-7024(2007)12-2980-03
修稿时间:2006-05-24

Determination of optimal fitting to function based on VC++ and Matcom
LI Bao-fang,GUAN Yong,SHEN Xiao-ben,ZHAO Dong-sheng. Determination of optimal fitting to function based on VC++ and Matcom[J]. Computer Engineering and Design, 2007, 28(12): 2980-2982
Authors:LI Bao-fang  GUAN Yong  SHEN Xiao-ben  ZHAO Dong-sheng
Affiliation:College of Information Engineering, Capital Normal University, Beijing 100037, China
Abstract:When fitting to the test data in projects,least square method is often adopted and the algebra polynomial is often used as the fitting function.But there is a morbid state when the polynomial counts become bigger,and then the result error become bigger,so de-termining the best fitting is necessary.The method of determination of the optimal power of data fitting is introduced and a program with hybird programming of VC and Matcom is realized.Through analyzing the experimental result,the method proves efficientand valuable.
Keywords:data fitting  least square method  algebra polynomial  optimal fitting  hybrid programming
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号