photo

Austin Marsh


Last seen: mer än 3 år ago Active since 2021

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


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...

mer än 3 år ago | 1 answer | 0

1

answer