Skip to content

Instantly share code, notes, and snippets.

@DingWeizhe
Created March 22, 2015 13:23
Show Gist options
  • Save DingWeizhe/737684174b74908f158f to your computer and use it in GitHub Desktop.
Save DingWeizhe/737684174b74908f158f to your computer and use it in GitHub Desktop.
a=[2,-6,-1;-3,-1,7;-8,1,-2]; %設定係數矩陣
b=[-38,-34,-20]'; %設定右半邊常數矩陣
x=GaussPivot(a,b) %執行部分軸元高斯消去法
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment