Accurately interpolating more Data points for a bump profile

  • Thread starter Thread starter Hughezy
  • Start date Start date
  • Tags Tags
    Data Points
AI Thread Summary
To interpolate more data points for a bump profile representing half of an aerofoil, several techniques are suggested, including Lagrange Interpolation and B-splines. Lagrange Interpolation can generate a polynomial for the existing data points, but it may be cumbersome for a large dataset like 25 points. B-splines offer more control over the interpolation model and are recommended for smoother curves. MATLAB is a suitable tool for implementing these methods, with resources and functions available online to assist in the process. Utilizing computer software for these calculations is essential to avoid tedious manual errors and ensure accuracy.
Hughezy
Messages
2
Reaction score
0
Hi there,

I require some advice on how to interpolate more data points on a bump profile. Basically i have a curve defined be twentyfive (x,y) data points. The bump is meant to accurately represent half of an aerofoil. I would like to accurately interpolate more data points (lets say up to 50) so that i can generate a smoother curve in my computer simulation.
The bump geometry profile it:

x y
-1.5 , 0
-1.4 , 0.002
-1.2 , 0.014
-1 , 0.044
-0.8 ,0.099
-0.6 , 0.178
-0.4 , 0.257
-0.3, 0.2835
-0.2 , 0.31
-0 , 0.331
0.2 , 0.325
0.35 , 0.308
0.4 ,0.3
0.6 ,0.258
0.63 ,0.251
0.8 ,0.207
0.9 ,0.181
1 ,0.155
1.2 ,0.103
1.24 ,0.093
1.4 ,0.058
1.58 ,0.031
1.6 ,0.027
1.8 ,0.006
2 ,0

I do not know what type of function this is wheter its quadratic or cubic etc...

Any asistance would be greatly apreciated.
 
Mathematics news on Phys.org
Hey Hughezy and welcome to the forums.

For interpolation, there are quite a number of techniques available.

The simplest is the Lagrange Interpolation formula which generates an n+1th degree polynomial for n data points, but if you want more control over the actual interpolation model you will need something a bit more developed, and for that you should check out BSPLINES.

http://en.wikipedia.org/wiki/Lagrange_polynomial

http://en.wikipedia.org/wiki/B-spline

In terms of calculating these, you can use standard numerical platforms like MATLAB or something like Octave which is free, and then get some coded routines to generate the right data structures with all the information for that model.

If you have MATLAB, then a google search returns this:

http://www.mathworks.com/matlabcentral/fileexchange/27047-b-spline-tools

This kind of stuff is a big topic in 3D animation and games design, so the relevant literature in this area (i.e. computer graphics) should have more information if you wish to dig deeper (as well as certain areas of applied mathematics).
 
Hi Chiro,

Thankyou for the reply!
I do indeed have MATLAB although my experience is limited. I have no idea where to start with B-spline tools. Do you know if there is a tutorial avaliable? Or do you yourself have any further advise?

Looking at the langrange polynomial on
http://mathworld.wolfram.com/LagrangeInterpolatingPolynomial.html

Solving an n+1th polynomial for 25 data points by hand would be a ridiculously long calculation. And I am not sure how accurate it would end up being. I was ignorant as to how difficult this will be, and with my current time constraints I am not sure whether this will be possible.

But again thankyou
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Back
Top