(AB)^T = (B^T*A^T) proof help
Mostra commenti meno recenti
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
Risposta accettata
Più risposte (2)
Mischa Kim
il 3 Apr 2015
Modificato: Mischa Kim
il 3 Apr 2015
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
il 3 Apr 2015
0 voti
Categorie
Scopri di più su Functions in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!