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: Using Solve/FSolve for Multiple Trig Equations
Replies: 7   Last Post: May 4, 2013 8:44 AM

 Messages: [ Previous | Next ]
 Bruno Luong Posts: 9,822 Registered: 7/26/08
Re: Using Solve/FSolve for Multiple Trig Equations
Posted: May 2, 2013 6:52 AM

> 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

Date Subject Author
5/1/13 Jung
5/1/13 Nasser Abbasi
5/1/13 Alan Weiss
5/1/13 Bruno Luong
5/2/13 Bruno Luong
5/2/13 Bruno Luong
5/4/13 Bruno Luong
5/1/13 Bruno Luong