Accurately interpolating more Data points for a bump profile

  • Thread starter Thread starter Hughezy
  • Start date Start date
  • Tags Tags
    Data Points
Click For Summary

Discussion Overview

The discussion revolves around methods for interpolating additional data points for a bump profile, which is intended to represent half of an aerofoil. Participants explore various interpolation techniques to generate a smoother curve from an initial set of twenty-five (x,y) data points, aiming to increase the total number of points to fifty.

Discussion Character

  • Technical explanation
  • Exploratory
  • Homework-related

Main Points Raised

  • One participant seeks advice on interpolating more data points for a bump profile, expressing uncertainty about the type of function that best fits the data.
  • Another participant suggests using the Lagrange Interpolation formula for generating a polynomial based on the data points, while also recommending B-splines for more control over the interpolation model.
  • Further resources are provided, including links to Lagrange polynomial and B-spline information, as well as MATLAB tools for implementation.
  • A participant expresses concern about the complexity of solving an n+1th polynomial for 25 data points by hand and questions the accuracy of such a method under time constraints.
  • Another reply emphasizes the importance of using a computer for Lagrange polynomial calculations to avoid tedious errors, providing a link to a MATLAB function for this purpose.

Areas of Agreement / Disagreement

Participants generally agree on the need for computational tools for interpolation, but there is no consensus on the best method to use, as different techniques (Lagrange vs. B-splines) are suggested without resolution of which is preferable.

Contextual Notes

Participants express limitations in their experience with MATLAB and the complexity of the interpolation methods discussed, indicating potential challenges in implementation.

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.
 
Physics 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
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
7K
Replies
7
Views
4K
  • · Replies 7 ·
Replies
7
Views
32K
Replies
1
Views
2K
Replies
4
Views
6K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 41 ·
2
Replies
41
Views
6K