./
parabola.pro
topparabola
utilities
result = parabola(x1, x2, x3, y1, y2, y3 [, p=p] [, q=q] [, r=r])
This function finds the unique parabola which fits three xy pairs. The parabola is given by y = p + q * x + r * x^2
Return value
An array [p,q,r] which describes the parabola y = p + q * x + r * x^2
Parameters
- x1 in required
First abscissa
- x2 in required
Second abscissa
- x3 in required
Third abscissa
- y1 in required
First ordinate
- y2 in required
Second ordinate
- y3 in required
Third ordinate
Keywords
- p in optional
Set to a variable to hold p
- q in optional
Set to a variable to hold q
- r in optional
Set to a variable to hodl r
File attributes
| Modifcation date: | Mon Mar 22 16:17:13 2010 |
| Lines: | 62 |
![[attach.png]](idldoc-resources/attach.png)