# Conjugate Gradient Matlab Code

The following matlab project contains the source code and matlab examples used for conjugate gradient.

The following Matlab project contains the source code and Matlab examples used for lobpcg solves hermitian partial generalized eigenproblems using preconditioning, competes with eigs .
This main function LOBPCG is a version of the preconditioned conjugate gradient method (Algorithm 5.

The following Matlab project contains the source code and Matlab examples used for greedy algorithms promoting group sparsity v3.
Group and Block Sparse Signal reconstruction via
Matching Pursuit - BMP, GMP
Gradient Pursuit - block_gp, group_gp
Nearly Orthogonal Matching Pursuit - block_nomp, group_nomp
Partial Conjugate Gradient Pursuit - block_pcgp, group_pcgp
Orthogonal Least Squares - BOLS, GOLS.

The following Matlab project contains the source code and Matlab examples used for orthogonal least squares algorithms for sparse signal reconstruction.
Added after previous version
ols_gp: Sparse reconstruction by Orthogonal Least Squares followed by Gradient Pursuit
ols_nomp: Sparse reconstruction by Orthogonal Least Squares followed by Approximate Conjugate Gradient Pursuit
ols_pcgp: Sparse reconstruction by Orthogonal Least Squares followed by Partial Conjugate Gradient Pursuit

The following Matlab project contains the source code and Matlab examples used for iterative methods for linear and nonlinear equations.
This book provides a complete analysis of the conjugate gradient and generalized minimum residual iterations.
For a full book description and ordering information, please refer to http://www.mathworks.com/support/books/book1344.jsp.

The following Matlab project contains the source code and Matlab examples used for pcg with 'null' and 'flex' options.
PCG Preconditioned Conjugate Gradients Method is a replacement of the standard built-in PCG code.

The following Matlab project contains the source code and Matlab examples used for efficient conjugate gradient method for symmetric banded matrix.
This code uses conjugate gradient method to solve the linear system
Ax= b, where A is symmetric and banded.

The following Matlab project contains the source code and Matlab examples used for conjugate gradient optimizer.
% This example demonstrates the use of conjgrad.

The following Matlab project contains the source code and Matlab examples used for preconditionnate conjugate gradient.
PCONJGRAD - Preconditionner Conjugate gradient optimisation
[m] = conjGrad('calcAx', init, b, options, .

The following Matlab project contains the source code and Matlab examples used for conjugate gradient method.
The conjugate gradient method aims to solve a system of linear equations, Ax=b, where A is symmetric, without calculation of the inverse of A.

The following Matlab project contains the source code and Matlab examples used for conjugate gradient.
If nitr is provided: stop the solver after nitr iterations and return a matrix
If nitr is not provided: stop the solver when the norm of the residual ~r is less than 11^-8

The following Matlab project contains the source code and Matlab examples used for conjugate gradient.
Conjugate gradient