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
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top