Skip to main content
16-Pearl
February 19, 2014
Question

CSPLINE and iteration

  • February 19, 2014
  • 2 replies
  • 4186 views

to all

I am looking at some programme which will involve curve fitting (possibly). I had a look at the doc and it seems quite straigforward but I am not getting what I expect when attempting a plot of the cspline. The overall problem is explained in the attached mcad (can't copy and-paste)

Thanks

Regards

JXB

2 replies

25-Diamond I
February 19, 2014

The attached file should help with cspline and linterp

16-Pearl
February 20, 2014

thanks Werner. Make sense now!

How does one interpolate between 2 sets of known data then? For example (see also attached) if one has data for a ratio b/d=0.1 and b/d=0.2 but one wants a Y value (K on the mcad sheet) for say b/d=0.164? Should one construct a "dummy" curve (spline) between thw 2 sets of data

25-Diamond I
February 20, 2014

J B wrote:

thanks Werner. Make sense now!

How does one interpolate between 2 sets of known data then? For example (see also attached) if one has data for a ratio b/d=0.1 and b/d=0.2 but one wants a Y value (K on the mcad sheet) for say b/d=0.164? Should one construct a "dummy" curve (spline) between thw 2 sets of data

basically - yes. You are asking for a 2-dimensional interplolation. Guess the attached sheet should help.

16-Pearl
February 20, 2014
25-Diamond I
February 20, 2014
16-Pearl
February 20, 2014

Werner

What does the function f(p,bd) do? I think I get the other 3

Regards

JXB