- Joined
- 9/12/08
- Messages
- 3
- Points
- 11
hi,
i m running the attched code for minimizing two parameters. However, the lsqnonlin command is giving erratic results, with high residuals. the problem is
1. The parameter x(1) has to be close to 0.5, while x(2) should not be too big less than 10 approx.
2. Also the same values for different row entires indicate an error, so it should vary.
I implemented it in Excel solver and resutls are good but i dont know y matlab is behaving strangely.
I have attached both the code file and data file.. may be someone can help..
thanks.
i m running the attched code for minimizing two parameters. However, the lsqnonlin command is giving erratic results, with high residuals. the problem is
1. The parameter x(1) has to be close to 0.5, while x(2) should not be too big less than 10 approx.
2. Also the same values for different row entires indicate an error, so it should vary.
I implemented it in Excel solver and resutls are good but i dont know y matlab is behaving strangely.
I have attached both the code file and data file.. may be someone can help..
thanks.