Is it possible to use custom orthonormal unit vectors to draw rotated objects in a 3D plot?

1 次查看(过去 30 天)
I have to draw a tensor representation (an ellipsoid). As a result of the decomposition I get three vectors describing the basis I should use to draw a rotated tensor (relative to the Carthesian coordinate system).
Is it possible to use these vectors to somehow draw a rotated ellipsoid? Theoretically I could try to solve a system of equations: v' = A*B*v (where v' is a rotated unit vector, v is a corresponding Carthesian vector and A and B are rotation matrices) to get two rotation angles (something similar to spherical coordinates) and then call rotate() twice, but it seems to be a bit cumbersome.
Here's an example of such three vectors (ellipsoid rotated about Y axis):
  • v1 = [ 0.3827, 0, -0.9239]
  • v2 = [ -0.9239, 0, -0.3827]
  • v3 = [ 0, 1.0000, 0]
PS. I hope my question is more or less understandable ; )

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by