Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How can I interpolate 3 points

Status
Not open for further replies.

Foufou

Member level 5
Joined
Oct 22, 2006
Messages
93
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,288
Activity points
1,871
interpolate 3 points

Can any one can help me to find how can I interpolate 3 succesives points using quadratique interpolations, give me a simple exemple.
thanks

Added after 3 hours 1 minutes:

you can help me it is urgent ?????????????
 

interpolate 3

Foufou,
The equation for a quadratic is y = a + bx + cx^2
Suppose the tree points are
x=1, y=1
x=2, y=3
x=3, y=4
Evaluationg the quadratic equation at these three points yields
Eq 1: 1 = a + b + c
Eq 2: 3 = a + 2b + 4c
Eq 3: 4 = a + 3b + 9c
You have three equations in 3 unknowns. Solve for a, b, c.
There are several ways to do this: Detrminants, Gaussian elimination, etc.
Here is one way:
subtracting eq 1 from eq 2 yields
b-+3c = 2
Eq A: b = 2-3c
replace b by (2-3c) in eq 1
Eq C: a-c = -1
replace by (2-3c) in eq 2
Eq D: a-2c = -3
Subtract Eq B from eq A
c = -2
Sustitute -2 for c in Eq A
b = 8
Substitute c = -2, b= 8 into equation 1
1 = a + 8 -2
a = -5
So the quadratic equation is
***** y = -5 +8x -2x^2 *****
There are many math packages that will do this for you, including
. MatCad
. MATLAB
Also, see any book on linear algebra.
Regards,
Kral

Added after 2 minutes:

There are several typos in my reply. The most important is "MatCad" should be "MathCad.
 

    Foufou

    Points: 2
    Helpful Answer Positive Rating
thanks Kral , very good explications
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top