nonlinear curve from data



Adam <adammaj1 at o2.pl> writes:
> At the end it should be :
>
> I can do it using linear function , but then curve is not smooth. I
> would like to use nonlinear function.

I don't know whether Maxima has functions for smooth curve
fitting. Maybe other respondents can help you there. Hopefully the
following general pointers will be of some use to you:

This is a non-trivial problem: after all, there are lots of curves that
go exactly through your points: how do you choose which one to use?
Presumably, you want the "least wiggly" one, but defining that isn't all
that simple. You probably want to search for ideas using terms like
"spline approximation" or "spline interpolation".

Something you also need to know is whether the points you have are exact
or have some sort of experimental uncertainty. If they are "exactly
right", then you want a curve that goes through them and then bends
around to ensure that it's smooth (think Bezier curves and the like). If
your points are experimental data, you probably don't mind if the curve
misses by them a little bit if that allows the curve to be less
complicated. In that case, you probably want to add words like
"nonlinear regression" to your search terms.

Sorry that I can't say anything more specific. Can you give us an
example of what you're trying to do?

Rupert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: not available
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20130629/fe400f5e/attachment.pgp>;