Code covered by the BSD License  

Highlights from
A Numerical Tour of Signal Processing

from A Numerical Tour of Signal Processing by Gabriel Peyre
A set of Matlab experiments that illustrates advanced computational signal and image processing.

perform_cg(A,y,options)
function x = perform_cg(A,y,options)

options.null = 0;
tol = getoptions(options, 'tol', 1e-6);
maxit = getoptions(options, 'maxit', 100);

[x,flag] = cgs(A,y,tol,maxit);

Contact us at files@mathworks.com