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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

interpolations of table

MM_10735997
8-Gravel

interpolations of table

HOW CAN I GET INTERPOLATED VALUES OF KN AT DIFFERENT ANGLES AT A CERTAIN VALUE OF DISPLACEMENT?

 

7 REPLIES 7
LucMeekes
23-Emerald III
(To:MM_10735997)

Please don't shout. ( You typed in all capitals).

Regarding your question:

Use the function linterp.

 

Success!

Luc

That wasnt shouting btw :), just to make matter catchy thats it...

 

if i use linterp, how can i get value in matrix for a specific value of displacement at different angles?

ttokoro
20-Turquoise
(To:MM_10735997)

Werner_E shows us before this function. It can interpolate the data.

image.png

image.pngimage.pngimage.png

Werner_E
25-Diamond I
(To:MM_10735997)

Here you are:

Werner_E_0-1689845586198.png

Werner_E_2-1689845630847.png

Werner_E_3-1689845894782.png

Werner_E_6-1689846144944.png

BTW, writing in all capital IS considered shouting and doing so usually is considered inappropriate and unpolite.

You may also consider using more meaningful file names as opposed to "Untitled" !

Werner_E
25-Diamond I
(To:Werner_E)

Using spline interpolation instead of linear interpolation might give a smoother curve, but of course it also means to invent data which actually isn't known - especially when it comes to extrapolation (e.g. angles above 60°)

Werner_E_0-1689846895431.png

Werner_E_1-1689846939762.png

Werner_E_2-1689846959041.png

 

 

 

I think what you want is interpolation within a 2D Table, based on both the horizontal and vertical axes.  I've done this directly with Mathcad Prime's Bicubic2D interpolation function and it has worked pretty well.  Check the help.

 

Jeff

Announcements

Top Tags