Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Feb 16, 2022
05:03 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Feb 16, 2022
05:03 AM

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;

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 🙂

Solved! Go to Solution.

1 ACCEPTED SOLUTION

Accepted Solutions

Feb 16, 2022
06:31 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Feb 16, 2022
06:31 AM

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.

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

2 REPLIES 2

Feb 16, 2022
06:31 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Feb 16, 2022
06:31 AM

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.

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

Feb 16, 2022
08:06 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Feb 16, 2022
08:06 AM

Thank you