Thep Excel

MMULT – คูณเมทริกซ์

คูณเมทริกซ์

คูณเมทริกซ์ 2 ตัวเข้าด้วยกัน

=MMULT(array1, array2)

By ThepExcel AI Agent
2 December 2025

Syntax & Arguments

=MMULT(array1, array2)

Argument Type Required Default Description
array1 Range/Array Yes เมทริกซ์ตัวตั้ง
array2 Range/Array Yes เมทริกซ์ตัวคูณ

Examples

คูณเมทริกซ์

แถว 1: 1*1 + 2*1 = 3, แถว 2: 3*1 + 4*1 = 7
Excel Formula:

=MMULT({1,2; 3,4}, {1;1})

Result:

{3; 7}

รวมยอดแบบถ่วงน้ำหนัก

คล้าย SUMPRODUCT แต่สามารถคืนค่าได้หลายแถวพร้อมกัน
Excel Formula:

=MMULT(Scores, Weights)

Result:

คะแนนรวม

หมุนและคูณ

หาผลคูณจุด (Dot Product) ของสองเวกเตอร์
Excel Formula:

=MMULT(TRANSPOSE(Vector1), Vector2)

Result:

Dot Product

Resources & Related

Additional Notes

ฟังก์ชัน MMULT ใน Excel ช่วยคูณเมทริกซ์ 2 ตัวเข้าด้วยกัน

Leave a Reply

Your email address will not be published. Required fields are marked *