Conjugate Gradient Method (Solving Quadratic Equations with Two Varaibles)

The algorithm summarizes the Conjugate Gradient method.
821 Downloads
Aktualisiert 12 Mär 2017

Lizenz anzeigen

The code highlights the Fletcher Reeve's Method or Conjugate Gradient Method. This method exploits the advantage of conjugate directions and hence is quadratically convergent. It takes only 3 iterations or 2 searches to solve a quadratic equation. The optimum for the same example as shown in this algorithm took 56 iterations with Steepest Descent.(Refer Steepest Descent Code); while this algorithm converges in only 3 iterations same initial guess or start point.

Zitieren als

Soumitra Sitole (2024). Conjugate Gradient Method (Solving Quadratic Equations with Two Varaibles) (https://www.mathworks.com/matlabcentral/fileexchange/62011-conjugate-gradient-method-solving-quadratic-equations-with-two-varaibles), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2016b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Quadratic Programming and Cone Programming finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0