MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: global fit


I should probably have mentioned the form of that function I wish to
find the minimum of:

g[a_, b_, c_, d_] := (
    A = {Table[f1[n, a, c, d], {n, 1, 60}], Table[f2[n, b, c, d], {n,
1, 60}],
           Table[f3[n, c, d], {n, 1, 60}], Table[f4[n, c, d], {n, 1,
60}],
           Table[1, {n, 1, 60}]};
    invA = PseudoInverse[A];
    X = A.invA;
    residue = B - X.A;
    Norm[Flatten[residue]]
    )

This function is certainly a bit slow but it does work. I could check
with ContourPlot the existence of a minimum along a and b (c and d
being fixed).

I tried FindMinimum just on g[a,b0,c0,d0] with b, c and d fixed and
giving a very good starting point and limits for a but it also failed.


  • Prev by Date: Re: sum the elements of a list
  • Next by Date: Re: Solve question
  • Previous by thread: Re: global fit
  • Next by thread: FindRoot: Failed to converge to the requested accuracy - CORRECTION