Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Reposition 3D plane slice
Replies: 16   Last Post: Jun 15, 2012 5:22 PM

 Messages: [ Previous | Next ]
 Myles Posts: 11 Registered: 6/14/12
Reposition 3D plane slice
Posted: Jun 14, 2012 6:15 PM

"Matt J" wrote in message <jrdmnj\$hu6\$1@newscl01ah.mathworks.com>...
> "Myles" wrote in message <jrdlnn\$dp7\$1@newscl01ah.mathworks.com>...
> >
> > So anyways,
> >
> > Ztilt = [0.1682 0.3477 -0.9224] <--- this is normalized of [16.7243, 34.5791,-91.7416]
> > u = cross(Ztilt, [0 0 1])
> > u = [0.3477 - 0.1682 0]
> > NewPoint = AxelRot(Ztilt', deg, u, [0 0 0])
> > NewPoint = [0.3102; 0.6414; -0.7017]

> =============
>
> Try this formula for deg instead
>
> deg=atan2(norm(u),Ztilt(3))*180/pi

Unfortunately that didn't work either. But you're thinking that it is the angle that might be wrong?

Date Subject Author
6/14/12 Myles
6/14/12 Matt J
6/14/12 Matt J
6/14/12 Myles
6/14/12 Matt J
6/14/12 Myles
6/14/12 Matt J
6/14/12 Myles
6/14/12 Matt J
6/14/12 Myles
6/15/12 Matt J
6/15/12 Matt J
6/15/12 Myles
6/15/12 Matt J
6/15/12 Myles
6/15/12 Matt J
6/14/12 Myles