Skip to main content

วิธีการคำนวณ Matrix Transpose

learn.whatIsHeading

The transpose of a matrix swaps its rows and columns. If A is an m×n matrix, Aᵀ is an n×m matrix. Transposes are used in linear algebra, machine learning, and solving systems of equations.

สูตร

If A is m × n, then Aᵀ is n × m where Aᵀ[i,j] = A[j,i]
A
original matrix
Aᵀ
transposed matrix

คำแนะนำทีละขั้นตอน

  1. 1(Aᵀ)ᵢⱼ = Aⱼᵢ
  2. 2Rows become columns
  3. 3(Aᵀ)ᵀ = A
  4. 4(AB)ᵀ = BᵀAᵀ

ตัวอย่างที่มีคำตอบ

อินพุต
[[1,2,3],[4,5,6]]
ผลลัพธ์
[[1,4],[2,5],[3,6]]
อินพุต
Square matrix [[a,b],[c,d]]
ผลลัพธ์
[[a,c],[b,d]]

คำถามที่พบบ่อย

What is the transpose of a transpose?

(Aᵀ)ᵀ = A. Transposing twice returns the original.

Is the transpose of a product the product of transposes in reverse?

Yes! (AB)ᵀ = BᵀAᵀ (note the reversal).

What is a symmetric matrix?

A square matrix where A = Aᵀ. The matrix equals its transpose.

พร้อมที่จะคำนวณแล้วหรือยัง? ลองใช้เครื่องคิดเลข Matrix Transpose ฟรี

ลองด้วยตัวคุณเอง→

การตั้งค่า