Skip to main content
8-Gravel
July 20, 2023
Question

interpolations of table

  • July 20, 2023
  • 4 replies
  • 1983 views

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

 

4 replies

23-Emerald IV
July 20, 2023

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

Regarding your question:

Use the function linterp.

 

Success!

Luc

8-Gravel
July 20, 2023

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

 

8-Gravel
July 20, 2023

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

ttokoro
21-Topaz I
21-Topaz I
July 20, 2023

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

image.png

image.pngimage.pngimage.png

t.t.
25-Diamond I
July 20, 2023

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

25-Diamond I
July 20, 2023

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

 

 

 

16-Pearl
July 26, 2023

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