cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

could you give me advice?

jlee-2
1-Newbie

could you give me advice?

dfgdawrg.PNG

mu=0.2, 0.25, ..1

tw(mu)>>> this mean is that tw(0.2)=19.54, tw(0.25)=15.86.....

and "c" is also including mu.

it means c(mu). c(0.2)=689.23, c(0.25)=662.54....

I want to express like upper.

Is it possible?

4 REPLIES 4
RichardJ
19-Tanzanite
(To:jlee-2)

Use a spline to convert the table columns to a function. If columns 1 and 2 are vectors (not range variables!),

coeffs:=cspline(col1,col2)

tw(mu):=cspline(coeffs,col1,col2,mu)

thank you~ I will try to do it

Fred_Kohlhepp
23-Emerald I
(To:jlee-2)

Richard has shown you spline fitting to create functions that fit datapoints represented by vectors.

There are many others.

Splines will pass thru the data points exactly, but they may fluctuate wildly between the points. Other operators assume a function type and do least square fitting to find the parameter values for closest fit. Attached is a sheet demonstrating a fourth order polynomial fit for your twist data. Note that it is not exact!

For many applications you may want to do straight line interpolation between points; research "linterp" for that application.

thank you^^

Top Tags