As the tittle indicates, i need help in proving the following within Matlab: (AB)^T = (B^T*A^T).
A=[1 8 5 4 ; 5 4 1 2; 4 1 2 5; 4 4 1 5],
B=[ 7 8 4 5; 7 4 5 6; 7 4 1 2; 9 4 1 2]
B and A are examples

 채택된 답변

James Tursa
James Tursa 2015년 4월 3일

0 개 추천

Transposing in MATLAB is accomplished with the ' and .' operators. The ' operator is actually conjugate transpose and the .' is transpose without conjugate. For real inputs, ' does the same thing as .'
So for you case, replace the ^T notation with ' and then put in a * between A and B, and then you can show that the results match for any particular example.

추가 답변 (2개)

Mischa Kim
Mischa Kim 2015년 4월 3일
편집: Mischa Kim 2015년 4월 3일

0 개 추천

Chris, you could simply do
>> A = [1 8 5 4 ; 5 4 1 2; 4 1 2 5; 4 4 1 5];
>> B = [ 7 8 4 5; 7 4 5 6; 7 4 1 2; 9 4 1 2];
>> (A*B)' - B'*A'
ans =
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
The prime does the transposing.
Chris
Chris 2015년 4월 3일

0 개 추천

Wow, thankyou both very much! Both answers make clear sence and a very quick reply.

카테고리

도움말 센터File Exchange에서 Functions에 대해 자세히 알아보기

질문:

2015년 4월 3일

답변:

2015년 4월 3일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by