You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Cite As
Soumitra Sitole (2026). Conjugate Gradient Method (Solving Quadratic Equations with Two Varaibles) (https://in.mathworks.com/matlabcentral/fileexchange/62011-conjugate-gradient-method-solving-quadratic-equations-with-two-varaibles), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Modified Conjugate Gradient Method (Bivariate optimization)
Categories
Find more on Quadratic Programming and Cone Programming in Help Center and MATLAB Answers
General Information
- Version 1.0.0.0 (1.65 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
