Direct link to this comment:
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?
Sign in to comment.
Direct link to this answer:
A_sym = (A+A.')/2;
A_anti = (A-A.')/2;
The .' operation is the transpose.
Sign in to answer this question.
Opportunities for recent engineering grads.
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Choose your location to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.