1 / 18

EXCEL 的矩陣運算

EXCEL 的矩陣運算. 例: x = (A T A) -1 A T b. 已知資料. 1.選擇目標(結果)位置 2.選擇使用函數功能. 選擇『函數類別』及『函數名稱』 (可利用『說明』來查“ MMULT ” 的詳細用法). 1.輸入第一個矩陣的範圍,輸入“ TRANSPOSE(“ 因為 A T 是一反矩陣, 必須先用反矩陣功能轉換 2.再按此鍵,以選擇矩陣範圍(也可以直接輸入)。. 1.用滑鼠圈選矩陣 A 範圍 2.按此返回. 1.矩陣範圍 A3:B10 自動顯示(亦可省略 前一步驟,直接手動輸入 A3:B10,

sandra_john
Télécharger la présentation

EXCEL 的矩陣運算

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. EXCEL 的矩陣運算 例:x = (ATA)-1ATb

  2. 已知資料

  3. 1.選擇目標(結果)位置 2.選擇使用函數功能

  4. 選擇『函數類別』及『函數名稱』 (可利用『說明』來查“MMULT”的詳細用法)

  5. 1.輸入第一個矩陣的範圍,輸入“TRANSPOSE(“ 因為AT是一反矩陣, 必須先用反矩陣功能轉換 2.再按此鍵,以選擇矩陣範圍(也可以直接輸入)。.

  6. 1.用滑鼠圈選矩陣 A範圍 2.按此返回

  7. 1.矩陣範圍 A3:B10自動顯示(亦可省略 前一步驟,直接手動輸入 A3:B10, 即完整輸入 TRANSPOSE(A3:B10) 2.選擇第二個矩陣範圍(亦可直接手動 輸入)

  8. 1.用滑鼠圈選矩陣 A範圍 2.按此返回 3.注意EXCEL自動產生的公式

  9. 矩陣範圍 A3:B10自動顯示

  10. 1.ATA結果應是 2x2 的矩陣(4格), 因只選擇一格, 所以出現錯誤的訊息

  11. 1.選擇 2x2 的格子 2.將滑數指標(cursor)移至 『資料編輯列』。 3.按 CTRL+ SHIFT + ENTER

  12. 顯示出ATA的結果

  13. 以相同的方法計算ATb

  14. 直接手動輸入或配合右方 按鍵

  15. 1.選擇 2x1 的格子 2.將滑數指標(cursor)移至 『資料編輯列』。 3.按 CTRL+ SHIFT + ENTER

  16. 顯示出ATb的結果

  17. 以相同的方法計算 (ATA)-1ATb

  18. 1. 顯示出(ATA)-1ATb的結果 2. 為各別矩陣塗上顏色,以 利閱讀。

More Related