Hello everyone,
I need to extract from 2n by 2n matrix the symetric and skew-symetric 2x2 blocks:
For example, for given A:
A=[
0,-1, 2,3;
1,0, 4,2;
-2,3, 0,-1;
4,-2, 1,0;
]
I want to get:
A_symetric= [
0,-1, 0,3;
1,0, 4,0;
0,3, 0,-1;
4,0, 1,0;
]
And
A_skew_symetric= [
0,0, 2,0;
0,0, 0,2;
-2,0, 0,0;
0,-2, 0,0;
]
댓글 수: 1
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/712148-find-the-symmetric-and-skew-symmetric-matrices-by-2x2-blocks#comment_1254593
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/712148-find-the-symmetric-and-skew-symmetric-matrices-by-2x2-blocks#comment_1254593
댓글을 달려면 로그인하십시오.