Diagonalization of a transfer matrix
4 views (last 30 days)
Show older comments
Hello everyone:
I would like to know how to diagonalize a transfer matrix. Does Matlab have a code or toolbox for it???
Thanks ^U^
0 Comments
Answers (1)
ata
on 31 May 2011
Hello Abel.
Code is "diag". Threedioganal matrix elements:
"diag(x,1)= upper-diagonal matrix element"
"diag(x,0)= diagonal matrix element"
"diag(x,-1)=lower-diagonal matrix element"
| 0 1 x x x |
|-1 0 1 x x |
| x -1 0 1 x |
| x x -1 0 1 |
| x x x -1 0 |
by by
1 Comment
Walter Roberson
on 31 May 2011
diag() does not do diagonization: it only extracts elements from the matrix (or, in the other form, inserts them in to a matrix.) This is completely different from (say) LU decomposition.
See Also
Categories
Find more on Operating on Diagonal Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!