摘要
在自然科学中,常常在相关的2个量之间并不一定存在严格的函数关系,利用最小二乘法原理可以确定其拟合方程及最优系数。然而对于较复杂的非线性问题,有时并不凑效。根据曲线拟合算法原理和遗传算法的特征,提出了利用遗传算法进行数据拟合的步骤,探讨了在MATLAB环境中实现遗传算法的编程方法,并以一个数据拟合实例说明遗传算法在全局寻优中的应用。
Sometimes there is no rigorous function relation between two correlative parameters in nature science.On the basis of the least Square method,the fitting equation and its optimal coefficient can be defined.However,for rather complex nonlinear problems,this may not work.According to the principle of curve fitting algorithm and the specific property of genetic algorithm(GA),several steps of date fitting with GA are presented and its realization in MATLAB has been discussed.A case of data fitting problem has been given to demonstrate the global optimization functionality of the MATLAB program.
出处
《湖南农机(学术版)》
2010年第3期92-93,97,共3页
Hunnan Agricultural Machinery