stress tensor diagonalization

Hello, I've got to obtain the eigenvectors of a stress tensor that is a 3x3 symmetric matrix. The tensor has this form: [sigmax,0,taurz;0,sigmay,0;taurz,0,sigmazz]; I was wandering if I should use eig() or eigs() to diagonalize to obtain the eigenvectors. Thank you very much for your help, cheers Alberto

回答(1 个)

Walter Roberson
Walter Roberson 2011-5-28

0 个投票

eigs() is for sparse matrices, and never for extracting all of the eigenvectors (if you try, it will tell you to use eig() )

类别

帮助中心File Exchange 中查找有关 Linear Algebra 的更多信息

提问:

2011-5-28

Community Treasure Hunt

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

Start Hunting!

Translated by