simultaneous diagonalization of two matrices

6 views (last 30 days)
How is simultaneous diagonalization performed on two matrices ( say A and B ) using matlab ?

Answers (1)

Matt J
Matt J on 18 Oct 2016
If A and B are the same size
out = bsxfun(@times, cat(3,A,B), eye(size(A)) );

Categories

Find more on Animation 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!