Antw: Re: How to use Maxima to do a nonlinear fit?
Subject: Antw: Re: How to use Maxima to do a nonlinear fit?
From: Robert Gloeckner
Date: Thu, 16 Nov 2006 23:21:19 +0100
** Reply Requested When Convenient **
Hello Mario,
Mario Rodriguez <biomates at telefonica.net> schrieb am Donnerstag, 16. November
2006 um 23:10:
> load(numericalio)$
> m: read_matrix("path_to/data.txt");
i did so, too & and now i know that only /single/ white-spaces are allowed as delimiter.
after that i did:
(%i16) lsquares(m, [T, g, n, l], l = 0.01 * g * (a1 * T + b1) + 0.01 * n * (a2 * T + b2) + (1 - 0.01 * (g + n)) * (a3 * T + b3), [a1, a2, a3, b1, b2, b3]);
but the result was just an expansion:
(%o16) lsquares(matrix([280, 0, 0, 0.251], [260, 0, 0, 0.237],
[240, 0, 0, 0.231], [220, 0, 0, 0.229], [200, 0, 0, 0.236],
...
[60, 22, 8, 0.223], [40, 22, 8, 0.238]), [T, g, n, l],
l = (1 - 0.01 (n + g)) (a3 T + b3) + 0.01 n (a2 T + b2) + 0.01 g (a1 T + b1),
[a1, a2, a3, b1, b2, b3])
are there limits in dimension/amount of data?
Ciao,
Robert