MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > Rotate 3D object to align with xy plane 

Subject: Rotate 3D object to align with xy plane From: Marcin Date: 19 May, 2010 06:20:22 Message: 1 of 20 
Hi, 
Subject: Rotate 3D object to align with xy plane From: Roger Stafford Date: 19 May, 2010 22:45:22 Message: 2 of 20 
"Marcin " <mb1234@gazeta.pl> wrote in message <hsvvv6$7rl$1@fred.mathworks.com>... 
Subject: Rotate 3D object to align with xy plane From: Marcin Date: 20 May, 2010 14:25:04 Message: 3 of 20 
"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <ht1pm2$1v$1@fred.mathworks.com>... 
Subject: Rotate 3D object to align with xy plane From: Matt J Date: 20 May, 2010 15:06:04 Message: 4 of 20 
"Marcin " <mb1234@gazeta.pl> wrote in message <ht3go0$6hi$1@fred.mathworks.com>... 
Subject: Rotate 3D object to align with xy plane From: mat001 Date: 20 May, 2010 15:19:04 Message: 5 of 20 
"Marcin " <mb1234@gazeta.pl> wrote in message <hsvvv6$7rl$1@fred.mathworks.com>... 
Subject: Rotate 3D object to align with xy plane From: Roger Stafford Date: 20 May, 2010 15:41:19 Message: 6 of 20 
"Marcin " <mb1234@gazeta.pl> wrote in message <ht3go0$6hi$1@fred.mathworks.com>... 
Subject: Rotate 3D object to align with xy plane From: Marcin Date: 20 May, 2010 21:21:04 Message: 7 of 20 
> You must face facts, Marcin! What you are asking for, you simply cannot accomplish without more information to go on. You state that you have a set of points which "describe" a threedimensional object, but how is anyone to tell how these points were originally oriented in space when the object was, as you say, "horizontal"? Even if the points are known to have been originally lying in a horizontal plane, (which would mean that the points are also currently colinear) that still isn't enough information to determine what rotation has been performed. Infinitely many are still possible as I have already pointed out to you at some length. 
Subject: Rotate 3D object to align with xy plane From: Matt J Date: 20 May, 2010 21:52:04 Message: 8 of 20 
"Marcin " <mb1234@gazeta.pl> wrote in message <ht4940$b11$1@fred.mathworks.com>... 
Subject: Rotate 3D object to align with xy plane From: Roger Stafford Date: 20 May, 2010 22:23:04 Message: 9 of 20 
"Marcin " <mb1234@gazeta.pl> wrote in message <ht4940$b11$1@fred.mathworks.com>... 
Subject: Rotate 3D object to align with xy plane From: Marcin Date: 21 May, 2010 08:26:11 Message: 10 of 20 
"Matt J " <mattjacREMOVE@THISieee.spam> wrote in message <ht4au4$7ua$1@fred.mathworks.com>... 
Subject: Rotate 3D object to align with xy plane From: Marcin Date: 21 May, 2010 08:31:01 Message: 11 of 20 
"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <ht4co8$5bf$1@fred.mathworks.com>... 
Subject: Rotate 3D object to align with xy plane From: Matt J Date: 21 May, 2010 10:31:05 Message: 12 of 20 
"Marcin " <mb1234@gazeta.pl> wrote in message <ht5gc5$cl0$1@fred.mathworks.com>... 
Subject: Rotate 3D object to align with xy plane From: Marcin Date: 21 May, 2010 10:45:19 Message: 13 of 20 
> 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 zaxis? If so, eliciting that info from you has been like pulling teeth. 
Subject: Rotate 3D object to align with xy plane From: Matt J Date: 21 May, 2010 10:55:07 Message: 14 of 20 
"Marcin " <mb1234@gazeta.pl> wrote in message <ht5o7v$96u$1@fred.mathworks.com>... 
Subject: Rotate 3D object to align with xy plane From: Marcin Date: 21 May, 2010 11:44:04 Message: 15 of 20 
> I still don't see why surf won't work as is. In doc surf, they show to plot spheres/ellipsoids given a set of surface points. 
Subject: Rotate 3D object to align with xy plane From: Matt J Date: 21 May, 2010 12:09:04 Message: 16 of 20 
"Marcin " <mb1234@gazeta.pl> wrote in message <ht5rm4$l78$1@fred.mathworks.com>... 
Subject: Rotate 3D object to align with xy plane From: Marcin Date: 21 May, 2010 12:34:06 Message: 17 of 20 
> If this works fine for you, then what's the problem? 
Subject: Rotate 3D object to align with xy plane From: Steven Lord Date: 21 May, 2010 14:07:49 Message: 18 of 20 

Subject: Rotate 3D object to align with xy plane From: YILMAZ Date: 2 Jul, 2010 07:42:06 Message: 19 of 20 
"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <ht1pm2$1v$1@fred.mathworks.com>... 
Subject: Rotate 3D object to align with xy plane From: Jan Simon Date: 2 Jul, 2010 08:09:33 Message: 20 of 20 
Dear YILMAZ, 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.