2019年1月16日 星期三

高斯--喬登方法 (對角矩陣) EX6-2

Divide row1 by -1
1
-1 -2 -2
3 -1 1 6
-1 3 4 4
Add (-3 * row1) to row2
1
-1 -2 -2
1
-1 -2 -2
0 2 7 12
-3
3
6
6
-1 3 4 4 3 -1 1 6
0 2 7 12
Add (1 * row1) to row3
1
-1 -2 -2
1
-1 -2 -2
0 2 7 12 -1 3 4 4
0 2 2 2 0 2 2 2
Divide row2 by 2
1
-1 -2 -2 0 2 7 12
0 1 3.50 6 0 1 3.5 6
0 2 2 2
Add (-2 * row2) to row3
1
-1 -2 -2 0 1 3.50 6
0 1 3.50 6 0 -2 -7 -12
0 0 -5 -10 0 2 2 2
0 0 -5 -10
Divide row3 by -5
1
-1 -2 -2
0 1 3.50 6
0 0 1 2
Add (-7/2 * row3) to row2
1
-1 -2 -2 0 0 1 2
0 1 0 -1 0 0 -3.5 -7
0 0 1 2 0 1 3.50 6
0 1 0 -1
Add (2 * row3) to row1
1
-1 0 2 0 0 1 2
0 1 0 -1 0 0 2 4
0 0 1 2
1
-1 -2 -2
1 -1 0 2
Add (1 * row2) to row1
1
0 0  1
1
-1 0 2
0 1 0 -1 0 1 0 -1
0 0 1  2 1 0 0 1



Divide row1 by -1
1
-1 -2 -2
3 -1 1 6
-1 3 4 4
Add (-3 * row1) to row2
1
-1 -2 -2
1
-1 -2 -2
0 2 7 12
-3
3
6
6
-1 3 4 4 3 -1 1 6
0 2 7 12
Add (1 * row1) to row3
1
-1 -2 -2
1
-1 -2 -2
0 2 7 12 -1 3 4 4
0 2 2 2 0 2 2 2
Divide row2 by 2
1
-1 -2 -2 0 2 7 12
0 1 3.50 6 0 1 3.5 6
0 2 2 2
Add (-2 * row2) to row3
1
-1 -2 -2 0 1 3.50 6
0 1 3.50 6 0 -2 -7 -12
0 0 -5 -10 0 2 2 2
0 0 -5 -10
Divide row3 by -5
1
-1 -2 -2
0 1 3.50 6
0 0 1 2
Add (-7/2 * row3) to row2
1
-1 -2 -2 0 0 1 2
0 1 0 -1 0 0 -3.5 -7
0 0 1 2 0 1 3.50 6
0 1 0 -1
Add (2 * row3) to row1
1
-1 0 2 0 0 1 2
0 1 0 -1 0 0 2 4
0 0 1 2
1
-1 -2 -2
1 -1 0 2
Add (1 * row2) to row1
1
0 0  1
1
-1 0 2
0 1 0 -1 0 1 0 -1
0 0 1  2 1 0 0 1


http://www.gregthatcher.com/Mathematics/GaussJordan.aspx  (EX6-2)

Gauss Jordan Elimination Calculator (convert a matrix into Reduced Row Echelon Form).


Step 2: Enter the values for your matrix, and press the "Solve" button.
  

Divide row1 by -1
1-1-2-2
3-116
-1344

Add (-3 * row1) to row2
1-1-2-2
02712
-1344

Add (1 * row1) to row3
1-1-2-2
02712
0222

Divide row2 by 2
1-1-2-2
017/26
0222

Add (-2 * row2) to row3
1-1-2-2
017/26
00-5-10

Divide row3 by -5
1-1-2-2
017/26
0012

Add (-7/2 * row3) to row2
1-1-2-2
010-1
0012

Add (2 * row3) to row1
1-102
010-1
0012

Add (1 * row2) to row1
100 1
010-1
001 2




沒有留言:

張貼留言

113 學年度第 1 學期 RFID應用課程 Arduino程式

113 學年度第 1 學期 RFID應用課程 Arduino程式 https://www.mediafire.com/file/zr0h0p3iosq12jw/MFRC522+(2).7z/file 內含修改過後的 MFRC522 程式庫 (原程式有錯誤) //定義MFRC522...