in reply to Re^2: operate on an array created in a subroutine
in thread operate on an array created in a while loop
The Excel curve is based on three control points, the Math::Interpolate one is based on five controls.
I presume that means the excel plot is using a quadratic interpolation (3 pts).
If that's true, then you need to set M:I to use a quadratic interpolation as well if you want the results to match closely. Even then, using a different set of data (5 pts instead of 3) will ensure that your interpolation is slightly different.
If you want it to be exact, you need to use the exact same input.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: operate on an array created in a subroutine
by captainentropy (Initiate) on Oct 16, 2013 at 21:12 UTC | |
|
Re^4: operate on an array created in a subroutine
by captainentropy (Initiate) on Oct 28, 2013 at 22:10 UTC | |
by choroba (Cardinal) on Oct 28, 2013 at 22:23 UTC | |
by captainentropy (Initiate) on Oct 31, 2013 at 20:33 UTC | |
by captainentropy (Initiate) on Nov 01, 2013 at 17:52 UTC |