2

My functional model consists of a nonlinear conditional equation of the form

a^x + b^x - 1 = 0

a and b are known. Therefore, I can solve this easily using Gauss-Newton iterations or MATLAB's in-built fsolve function. But: What if I have multiple versions of (a,b) tuples fitting the same model defined by x?

I'd like to solve the resulting overdetermined system by MATLAB's lsqnonlin function, but it of course aims only at minimizing the sum of residuals, whereas I want to minimize the sum of residuals AND the conditional equations be fullfilled. What's the proper proceeding here?

Mikhail_Sam
  • 10,602
  • 11
  • 66
  • 102
Michael
  • 280
  • 2
  • 13
  • Is pairs of (a,b) are known, is it possible to solve several equations in cycle and then find the best one? If a,b are function of some parameter,say t, so that we have a(t),b(t), you could use *fminsearch* function with introducing penalty function on the sum of a and b. What case is yours? – drsealks Nov 28 '14 at 11:15

0 Answers0