Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Conjugate Gradient and preconditioned CG method.

1 vue (au cours des 30 derniers jours)
Lokesh
Lokesh le 20 Nov 2023
Clôturé : John D'Errico le 20 Nov 2023
Help for solving a linear system of Ku=f for given tol=10^-8 and maxiter =1000. I have to find CG and PCG and compare it with matlab pcg and linsolve and visualize the norm of the difference of the solution in every iteration with the final solution to see the convergence. I am new to MATLAB and it would be helpful if anyone can help me with code

Réponses (0)

Cette question est clôturée.

Produits


Version

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by