## Iterative Gauss-Newton Optimization?

### Otto (view profile)

on 16 Dec 2012

Hi All,

I want to fit a nonlinear model of f(x,a0,a1)=a0*(1-exp(-a1*x)) to the data given below. The independent and dependent variables are x and y respectively. İnitial estimate values of a0=1 and a1=1 for coefficients to be used. Variables are:

x=[0.25 0.75 1.25 1.75 2.25] y=[0.28 0.57 0.68 0.74 0.79]

Optimization for this problem using Gauss-Newton method is Mandatory for a special task. Does anyone have a simple gauss-newton optimization code?(What i mean by a simple code is that, there is no need for an extra damping process in this code. Just an iterative gauss newton optimization for 10 iteration is clearly enough.)I have to use and present an original code, therefore I can not utilize MATLAB's optimization toolbox.

I will appreciate for any immediate help! The case is very urgent, i have only one day to complete this task. Thanks already for your interest!

Walter Roberson

on 3 Feb 2013

## Products

No products are associated with this question.

### bym (view profile)

on 16 Dec 2012

these slides pretty much outline what you are trying to do (with an example of your exact equation). Show some code and highlight where you are having problems

http://www.win.tue.nl/~hholst/2P660/2P660slides/newton.pdf

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi