Symbolic matrix transpose
the elements of which represent real numbers.
syms x y real A = [x x x; y y y]
A = [ x, x, x] [ y, y, y]
Find the nonconjugate transpose of this matrix.
ans = [ x, y] [ x, y] [ x, y]
If all elements of a matrix represent real numbers, then its complex conjugate transform equals its nonconjugate transform.
isAlways(A' == A.')
ans = 3×2 logical array 1 1 1 1 1 1
the elements of which represent complex numbers.
syms x y real A = [x + y*i x - y*i; y + x*i y - x*i]
A = [ x + y*1i, x - y*1i] [ y + x*1i, y - x*1i]
Find the nonconjugate transpose of this matrix. The nonconjugate
A.', performs a transpose without
conjugation. That is, it does not change the sign of the imaginary
parts of the elements.
ans = [ x + y*1i, y + x*1i] [ x - y*1i, y - x*1i]
For a matrix of complex numbers with nonzero imaginary parts, the nonconjugate transform is not equal to the complex conjugate transform.
isAlways(A.' == A','Unknown','false')
ans = 2×2 logical array 0 0 0 0
Input, specified as a number, or a symbolic number, scalar variable, matrix variable (since R2021a), function, expression, or vector, matrix, or array of symbolic scalar variables.
The nonconjugate transpose of a matrix interchanges the row and column index for each element, reflecting the elements across the main diagonal. The diagonal elements themselves remain unchanged. This operation does not affect the sign of the imaginary parts of complex elements.
For example, if
B = A.' and
then the element