Skip to main content
8-Gravel
Jul 20, 2023 5:05 AM UTC
Question

interpolations of table

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

 

7 replies

23-Emerald V
Jul 20, 2023 5:18 AM UTC

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

Regarding your question:

Use the function linterp.

 

Success!

Luc

Translate
8-Gravel
Jul 20, 2023 5:41 AM UTC

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

 

Translate
8-Gravel
Jul 20, 2023 5:44 AM UTC

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

Translate
ttokoro
21-Topaz I
Jul 20, 2023 7:04 AM UTC

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

image.png

image.pngimage.pngimage.png

Translate
t.t.
Werner_E
25-Diamond I
Jul 20, 2023 9:43 AM UTC

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" !

Translate
Werner_E
25-Diamond I
Jul 20, 2023 10:00 AM UTC

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

 

 

 

Translate
JeffH1
16-Pearl
Jul 26, 2023 8:39 PM UTC

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

Translate