Numerical sensitivity of X'*Y*X given X is a permutation matrix
Show older comments
Assume X is an arbitrary matrix and Y is a symmetric matrix with double floating-point format. I understand that the product X'*Y*X can become asymmetric due to the floating point numerics problem.
However, I am not sure this potential 'asymmetric' problem would happen if X here is assumed to be a permutation matrix. I would think the structure of a permutation matrix may not cause any problem to the symmetric structure of X'*Y*X
If anyone has suggestions, please share them.
2 Comments
Jan
on 31 Mar 2017
What is your question?
David Goodmanson
on 31 Mar 2017
Hi Qian, If your matrices are real then M' is the same as the transpose M.', so the statement about being symmetric makes sense. If anything were complex then you would have to make different statements about X' *Y*X and X.' *Y*X . That nitpick aside, for matrix multiplication by permutation matrices all you are doing is multiplying by 1 and adding 0, and it's hard to see how that could have any bad effect numerically.
Accepted Answer
More Answers (0)
Categories
Find more on Data Type Identification 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!