# Distance from points to a parabola (Scripts) 1.0

Average Rating
User Rating:
Visitors Rating:
My rating:

• Last update: 5 years ago
• Operating system: Linux, Mac OS X, Win All, BSD, Solaris
• Publisher: Hui Ma (2 other programs)
See full specifications

## Distance from points to a parabola (Scripts) Publisher's description

### This is an adaptation of the projecting method for ellipse introduced by D. Eberly.

This is an adaptation of the projecting method for ellipse introduced by D. Eberly.
Internet publication: "Distance from a point to an ellipse in 2D" (2004) Geometric Tools, LLC, www.geometrictools.com
Book publication: "3D Game Engine Design", 2nd edition.
Morgan Kaufmann Publishers, San Francisco, CA, 2007.
(see Section 14.13.1)

Input: XY(n,2) is the array of coordinates of n points
x(i)=XY(i,1), y(i)=XY(i,2)
ParG is a vector 4x1 of the ellipse parameters
ParG = [Vertex(1:2), p, Angle]'
Vertex - the coordinates of the parabola's vertex
p - distance from the focus to the directrix
Angle - the angle of tilt of the parabola

Output: RSS is the Residual Sum of Squares (the sum of squares of the distances)
XYproj is the array of coordinates of projections

The algorithm is proven to converge and reaches an accuracy of 8-9 significant digits. It takes 5-6 iterations per point, on average.

#### System Requirements:

MATLAB 7.6 (R2008a)
Program Release Status: New Release
Program Install Support: Install and Uninstall

#### Distance from points to a parabola (Scripts) Tags:

Click on a tag to find related softwares

## Most Popular

ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation