tensor rotation
조회 수: 13 (최근 30일)
이전 댓글 표시
I wish to rotate a tensor, T.
My understanding is that I can do so by creating a rotation matrix, R and then simply carry out the instruction:
Trot = R*T*R'
where Trot is the rotated tensor. I then use eig to determine the new Eigen vector directions. I find that sometimes I get results where the Eigen vectors are pointing in directions I do not expect.
However, when I use the same rotation matrix with the file transform.m from File Exchange
then I find the tensor rotates nicely (albeit with some reversals of direction which I believe are due to the eig function).
I cannot figure out why the simple process of pre and post multiplying by the rotation matrix (and it's tranform) only works for some tensors and not others. I am not using the unit tensor (which does not rotate).
I would like to use the multiplication method so that I can vectorize what I am doing.
Any ideas?
Thanks Chris Walker
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!