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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Interp Function

BG_9641770
11-Garnet

Interp Function

Hi guys

 

I have 2 sets of data kz.b and kc and the refence variable z.b

 

currently i can interpolation to find what kc is when z.b is equal to a value hence the below;

BG_9641770_0-1645005373003.png

 

however there a various values of Kcphi which i may need to interpolate between such as if

 

kcphi was 6 i would then need to interpolate the value between kcphi5 and kcphi10 to then return the value and interpolate z.b to return the vlaue i am after.

 

i was wondering if there is a function that could be written to help with this

 

Thanks 🙂

1 ACCEPTED SOLUTION

Accepted Solutions

You may use the 2D interpolation function provided in the attached sheet.

I assumed phi to be an angle in degree, so I added the necessary unit.

Werner_E_0-1645011033466.png

The same principle could easily be applied to use spline interpolations instead of linear interpolations.

 

View solution in original post

2 REPLIES 2

You may use the 2D interpolation function provided in the attached sheet.

I assumed phi to be an angle in degree, so I added the necessary unit.

Werner_E_0-1645011033466.png

The same principle could easily be applied to use spline interpolations instead of linear interpolations.

 

Thank you

Top Tags