Code covered by the BSD License
-
ConicPrj(P, A, b, c, parabola...
-
EllAlg2Geo(A, b, c)
-
EllGeo2Alg(radii, U, x0)
-
EllPrj(P, radii, U, x0, noche...
-
Pprod(pd)
-
StdConicPrj(d, s, g, l, parab...
-
StdEllPrj(d, s)
-
EllExampleTest.m
-
TestConic.m
-
View all files
Euclidian projection on ellipsoid and conic
by Bruno Luong
24 May 2010
(Updated 25 May 2010)
Projecting a point on ellipsoid or conic in n-dimensional space
|
Watch this File
|
| File Information |
| Description |
Find the projection of point P in R^n on the ellipsoid
E = { x = x0 + U*(z.*radii) : |z| = 1 }, where U is orthogonal matrix of the orientation of E, radii are the axis lengths, and x0 is the center.
Or on generalized conic E = { x : x'*A*x + b'*x + c = 0 }.
The projection is the minimization problem:
min | x - P | (or max | x - P|) for x in E.
Method: solve the Euler Lagrange equation with respect to the Lagrange multiplier, which can be written as polynomial equation (from an idea by Roger Stafford) |
| MATLAB release |
MATLAB 7.10 (R2010a)
|
| Other requirements |
Should work from v 2097A (bsxfun required) |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 25 May 2010 |
Extend to generalized conic (ellipsoid, paraboloid, hyperboloid, etc...) |
| 25 May 2010 |
Cosmetic changes + Script for test example for 2D conic projection |
| 25 May 2010 |
Fix a bug, Introducing an adjustable tolerance value for parabola detection |
|
Contact us