From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Rotate 3D object to align with x-y plane
Date: Fri, 21 May 2010 10:31:05 +0000 (UTC)
Organization: Xoran Technologies
Lines: 7
Message-ID: <ht5nd9$fi2$>
References: <hsvvv6$7rl$> <ht1pm2$1v$> <ht3go0$6hi$> <ht3l6v$51t$> <ht4940$b11$> <ht4co8$5bf$> <ht5gc5$cl0$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1274437865 15938 (21 May 2010 10:31:05 GMT)
NNTP-Posting-Date: Fri, 21 May 2010 10:31:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1440443
Xref: comp.soft-sys.matlab:637976

"Marcin " <> wrote in message <ht5gc5$cl0$>...

> You are right of course with the ball. But let's assume that it's an ellipsoid-like shape (or flattened ball), it is rotated and I want to align it with the xy plane. How would I do that?

How is that any different from the case of a perfect sphere? Do you know which axis of the ellipsoid was originally parallel to the z-axis?  If so, eliciting that info from you has been like pulling teeth.