[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fixed points piecewise-linear fitting
From: |
c. |
Subject: |
Re: fixed points piecewise-linear fitting |
Date: |
Sun, 18 Mar 2012 15:13:12 +0100 |
On 18 Mar 2012, at 00:42, Juan Pablo Carbajal wrote:
> If you accept the min square idea (which makes a lot of sense). You
> are solving what any FEM in 1D would solve when using linear elements
> center in your Yf. You are projection your (X,Y) function into the
> tent space. I will search my teaching code. I have a function to do it
> somewhere there. In the meanwhile somebody could update us about FEM
> 1D in Octave?
> Maybe Carlo knows about this.
bim does do piecewise-linear finite elements but it uses only trapezoidal rule
for computing integrals (in order to obtain mass-lumping) so using it for L2
projection
would be essentially equivalent to sampling data at the grid nodes.
geopdes [1] might be better at this and produce a smoother interpolating
function.
I never used it for 1d problems but it should work with at most a very few
tweaks.
Ben's solution should also be OK if you just care about the result and not
about the algorithm.
HTH,
Carlo
[1] http://sourceforge.net/projects/geopdes/
- fixed points piecewise-linear fitting, Sergei Steshenko, 2012/03/17
- Re: fixed points piecewise-linear fitting, Juan Pablo Carbajal, 2012/03/17
- Re: fixed points piecewise-linear fitting, Ben Abbott, 2012/03/17
- Re: fixed points piecewise-linear fitting, Sergei Steshenko, 2012/03/17
- Re: fixed points piecewise-linear fitting, Ben Abbott, 2012/03/17
- Re: fixed points piecewise-linear fitting, Sergei Steshenko, 2012/03/17
- Re: fixed points piecewise-linear fitting, Ben Abbott, 2012/03/17
- Re: fixed points piecewise-linear fitting, Juan Pablo Carbajal, 2012/03/17
- Re: fixed points piecewise-linear fitting,
c. <=
- Re: fixed points piecewise-linear fitting, Sergei Steshenko, 2012/03/18
- Re: fixed points piecewise-linear fitting, c., 2012/03/18
- Re: fixed points piecewise-linear fitting, Sergei Steshenko, 2012/03/18
- Re: fixed points piecewise-linear fitting, c., 2012/03/18
- Re: fixed points piecewise-linear fitting, Ben Abbott, 2012/03/18
- 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