Interpolation

Started by
1 comment, last by Dave007 22 years, 4 months ago
Hi All! I''ve this problem: I have 2 points of x,y,z and w values. 1st point''s w is positive, 2nd is negative. I need to interpolate the x, y and z coordinates for w = 0. Thanx. Dave007
dave007@volny.cz
--------Dave[ Math Studio ] A Computer Algebra System
Advertisement
Hi,

a = abs(w1) / (abs(w1) + abs(w2))
Px = a*x1 + (1-a)*x2
Py = a*y1 + (1-a)*y2
Pz = a*z1 + (1-a)*z2

Point P = (Px,Py,Pz)

Is that what you''re looking for?


/Mankind gave birth to God.
/Mankind gave birth to God.
Yes, it''s what I need... thnx

Dave007
dave007@volny.cz
--------Dave[ Math Studio ] A Computer Algebra System

This topic is closed to new replies.

Advertisement