Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Max distance from point on ellipsoid to surface
Date: Tue, 22 May 2012 20:13:07 +0000 (UTC)
Organization: Boeing Co
Lines: 6
Message-ID: <jpgs0i$m6s$1@newscl01ah.mathworks.com>
References: <jpgh3q$c1$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-01-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1337717587 22748 172.30.248.46 (22 May 2012 20:13:07 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 22 May 2012 20:13:07 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 756104
Xref: news.mathworks.com comp.soft-sys.matlab:768665

"stefaneli" wrote in message <jpgh3q$c1$1@newscl01ah.mathworks.com>...
> I want to find a point on an given ellipsoid that is the farthest from a given surface. (The distance between a point on ellipsoid and the surface should be max). So how can I do this? I was thinking about some kind of Lagrange multipliers. But what do you think? Thanks.

Another way is to brute force it. Write functions to parametrically descibe each surface, define a function to calculate the distance between surface points on each surface (or the negative of this if you are looking for max distance), and then pass a function handle to this function and a starting guess to fminsearch.

James Tursa