統計
MATLAB Answers
1 質問
0 回答
ランク
of 171,210
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
質問
I'm solving a system Ax=b with Jacobi. I got it to run through once, but now I need a driver to run 20 iterations of each, while printing the infinity norm of ||t-x^i|| ,where x^i is generated from an initial guess of x0, to a table each iteration.
function driver A = [4 -1 -1 0;-1 4 0 -1;-1 0 4 -1;0 -1 -1 4]'; b = [10.5;-13;1;-1.5]; n = 4; %% exact solution t = [2;-3...
5年弱 前 | 1 件の回答 | 0