Skip to main content

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

learn.whatIsHeading

A matrix is a rectangular array of numbers arranged in rows and columns. Matrices are fundamental in linear algebra, used for solving systems of equations, 3D computer graphics, machine learning (neural networks), quantum mechanics, and engineering.

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

  1. 1Matrix addition/subtraction: add corresponding elements (matrices must be same size)
  2. 2Matrix multiplication: row × column dot products (A must have same columns as B has rows)
  3. 3Determinant (2×2): det(A) = ad − bc for [[a,b],[c,d]]
  4. 4Transpose: flip rows and columns (rows become columns)
  5. 5Inverse (2×2): A⁻¹ = (1/det) × [[d,−b],[−c,a]]

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

อินพุต
det([[3,8],[4,6]])
ผลลัพธ์
−14
3×6 − 8×4 = 18−32 = −14
อินพุต
[[1,2],[3,4]] × [[5,6],[7,8]]
ผลลัพธ์
[[19,22],[43,50]]
Row × column products

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

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

การตั้งค่า