[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fixed points piecewise-linear fitting
From: |
Martin Helm |
Subject: |
Re: fixed points piecewise-linear fitting |
Date: |
Wed, 21 Mar 2012 01:38:00 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120312 Thunderbird/11.0 |
Am 21.03.2012 00:25, schrieb Ben Abbott:
> Using methods "linear" or "spline" give the same result. However,
> using your approach "cubic"/"pchip" doesn't produce a minimum least
> squares solution. I've attached a test script (go_ppfit.m) and both
> ppfit.m (mine) and ppfit2.m (yours). I modified yours to support
> weighted least squares. Ben
Well that makes of course sense since f(a*x+b*y) = a*f(x)+b*f(y) is not
valid for the pchip interpolants (I naively did not think about that
case) while it is true for piecewise linear and spline interpolants.
Thanks for having a further look and adjusting. Your function is very
useful. Do you plan to add it to octave or octave forge?
- Re: fixed points piecewise-linear fitting, (continued)
- Re: fixed points piecewise-linear fitting, CdeMills, 2012/03/17
- Re: fixed points piecewise-linear fitting, Sergei Steshenko, 2012/03/17
- Re: fixed points piecewise-linear fitting, Martin Helm, 2012/03/19
- Re: fixed points piecewise-linear fitting, Ben Abbott, 2012/03/19
- Re: fixed points piecewise-linear fitting, Martin Helm, 2012/03/20
- Re: fixed points piecewise-linear fitting, Martin Helm, 2012/03/20
- Re: fixed points piecewise-linear fitting, Ben Abbott, 2012/03/20
- Re: fixed points piecewise-linear fitting, Martin Helm, 2012/03/20
- Re: fixed points piecewise-linear fitting, Ben Abbott, 2012/03/20
- Re: fixed points piecewise-linear fitting, Ben Abbott, 2012/03/20
- Re: fixed points piecewise-linear fitting,
Martin Helm <=
- Re: fixed points piecewise-linear fitting, Ben Abbott, 2012/03/21
Re: fixed points piecewise-linear fitting, Macy, 2012/03/17
Re: fixed points piecewise-linear fitting, Macy, 2012/03/17