Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I am going to develop a matlab code to optimize my problem by means of Gauss-Newton optimization method. I am doing the iterations by a while loop. x2 and x1 are new and former parameters respectively. after obtaining the x2 in each iteration I have put x1=x2, so x2 will be the current parameter in the next iteration to get another new parameter.
I run my program, However it does not improve after 2 iterations! that is, the obtained parameters are the same as the previous ones after second iteration.
does anyone know what the problem is?
0 · ·