Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Working on linear interpolation of a coefficient from a 7x4 matrix, utilizing x and y axis ranges, Pg_Vector and R_vector respectively.
From the first part of the linterp function worked perfectly for the x-axis solutions, but the second time working on y-axis returns an incorrect answer.
See attached Prime 10 file.
You used the wrong order for the two data vectors
Thanks, missed the possibility that the operation would act differently when pulling out horizontal and vertical vectors, requiring reversal of the data and range vectors.
Maybe you are looking for some multidimensional interpolation functions:
Prime 10 file attached
Hi @BillMcNealy,
I wanted to follow up with you on your post to see if your question has been answered.
If so, please mark the appropriate reply as the Accepted Solution.
Of course, if you have more to share on your issue, please let the Community know so that we can continue to help you.
Thanks,
Anurag