Given a 2x2 matrix Z how would I code to find the matrices P & Q given by the symmetric and skew symmetric parts of Z?
How to find the symmetric and skew symmetric part of a specified matrix?
41 views (last 30 days)
Show older comments
Thanks
Accepted Answer
the cyclist
on 17 May 2018
Edited: the cyclist
on 17 May 2018
A_sym = (A+A.')/2;
A_anti = (A-A.')/2;
0 Comments
More Answers (0)
See Also
Categories
Find more on Matrix Indexing 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!