How to solve a set of equations?

1 visualización (últimos 30 días)
tabw
tabw el 11 de Sept. de 2014
Comentada: tabw el 11 de Sept. de 2014
[ cos(phi)*cos(theta), -sin(theta), -cos(theta)*sin(phi)]= 1
[ cos(phi)*sin(theta), cos(theta), -sin(phi)*sin(theta)]=0
[ sin(phi), 0, cos(phi)]=0
How to solve the phi and theta?
I tried A\B, it seems don't work.
Thanks,
  2 comentarios
Roger Stafford
Roger Stafford el 11 de Sept. de 2014
Editada: Roger Stafford el 11 de Sept. de 2014
As you have posed it, your question does not make sense. You are setting three-element row vectors equal to scalars. What are the actual equations you are trying to solve? There are two unknowns, so presumably you have two equations in mind.
tabw
tabw el 11 de Sept. de 2014
Actually, I have a vector i,j,k. I want to multiply it with a rotational matrix to make the vector align with one of the three axis(x,y,z)

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by