Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Using Solve/FSolve for Multiple Trig Equations
Replies: 7   Last Post: May 4, 2013 8:44 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Bruno Luong

Posts: 8,704
Registered: 7/26/08
Re: Using Solve/FSolve for Multiple Trig Equations
Posted: May 2, 2013 6:52 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

> Here is a short code to illustrate that the problem of finding 3D rotation matrix R such that R*u = v has infinity solutions:
>
> % Input vectors of norm 1
> u = rand(3,1);
> u = u/norm(u)
> v = randn(3,1) ;
> v = v/norm(v);
> ...


To be clear, in relation of my post #3, the connection with the original problem is:

u = [0 0 1]';
v = [-J,I,K]';

The solution is given by:
r = theta1;
p = -theta2;
y = theta3.

where theta1, theta2, theta3 are 3 Euler's angles of (3x3) matrix R, when using the convention R = [Z1*X2*Y3].

Bruno



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.