Statistica
MATLAB Answers
1 Domanda
0 Risposte
RANK
193.403
of 300.857
REPUTAZIONE
0
CONTRIBUTI
1 Domanda
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.0%
VOTI RICEVUTI
0
RANK
of 171.361
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
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...
quasi 5 anni fa | 1 risposta | 0