Given the matrix 𝐴, use MATLAB to compute 𝐴𝐴 𝑡 .

18 visualizaciones (últimos 30 días)
yihan wang
yihan wang el 20 de Sept. de 2021
Comentada: Walter Roberson el 20 de Sept. de 2021
I dont konw how to add t in matlab,there is no t value, and how to find matrix is symmetric?
  2 comentarios
Ravi Narasimhan
Ravi Narasimhan el 20 de Sept. de 2021
for a couple of options on how to get the transpose of a matrix.
Walter Roberson
Walter Roberson el 20 de Sept. de 2021
To expand on Ravi's answer:
When using Linear Algebra,
(better) or (not recommended) is the non-conjugate transpose of the matrix A.
(more common) or (used in some fields) is the conjugate transpose of the matrix A. See also https://en.wikipedia.org/wiki/Conjugate_transpose#Definition which contains some less used symbols for this.
is the inverse of the matrix A
in Linear Algebra is more likely to refer to either a distinguished version of A (such as after applying a transformation matrix to A), or else to the derivative of A -- but it is not uncommon for ' to be used for either transpose or conjugate transpose in programming languages.

Iniciar sesión para comentar.

Respuestas (1)

William Rose
William Rose el 20 de Sept. de 2021
For a real matrix, A' is Matlab code for the transpose of A. Therefore:
A=[6,-2,-1,0;3,-5,0,-3;10,5,0,-1;-1,3,4,1];
B=A*A';
disp(B)
41 28 50 -16 28 43 8 -21 50 8 126 4 -16 -21 4 27
You can verify that
C=A'*A
gives the same result.
  1 comentario
Walter Roberson
Walter Roberson el 20 de Sept. de 2021
A'*A gives the same result only if A is square.

Iniciar sesión para comentar.

Categorías

Más información sobre Sparse Matrices en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by