Rank: 3743 based on 8 downloads (last 30 days) and 1 file submitted
photo

Peter

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Peter
Updated   File Tags Downloads
(last 30 days)
Comments Rating
22 Oct 2009 Conjugate Gradient Optimizer This routine lets you optimize large scale linear systems Author: Peter optimization, image processing, mathematics, simulation, signal processing, modeling 8 2
  • 3.0
3.0 | 1 rating
Comments and Ratings by Peter
Updated File Comments Rating
25 Oct 2009 Conjugate Gradient Optimizer This routine lets you optimize large scale linear systems Author: Peter

Well, the only advantage is that the vectors x and y don't necessarily have to be ordered in a row format, they can be multidimensional arrays. The internal function mydot can handle their dot products.

Otherwise you are right, there is no much difference.

The pcg matlab function is also an alternative.

Comments and Ratings on Peter's Files View all
Updated File Comment by Comments Rating
25 Oct 2009 Conjugate Gradient Optimizer This routine lets you optimize large scale linear systems Author: Peter Peter

Well, the only advantage is that the vectors x and y don't necessarily have to be ordered in a row format, they can be multidimensional arrays. The internal function mydot can handle their dot products.

Otherwise you are right, there is no much difference.

The pcg matlab function is also an alternative.

23 Oct 2009 Conjugate Gradient Optimizer This routine lets you optimize large scale linear systems Author: Peter Luong, Bruno

Not sure what advantage of conjgrad over Matlab builtin function LSQR (where preconditioning is possible):

x = lsqr(@afun,b);
    
function y = afun(x,transp_flag)
        if strcmp(transp_flag,'transp')
            y = A'*x;
        else
            y = A*x;
        end
    end

Top Tags Applied by Peter
image processing, mathematics, modeling, optimization, signal processing
Files Tagged by Peter
Updated   File Tags Downloads
(last 30 days)
Comments Rating
22 Oct 2009 Conjugate Gradient Optimizer This routine lets you optimize large scale linear systems Author: Peter optimization, image processing, mathematics, simulation, signal processing, modeling 8 2
  • 3.0
3.0 | 1 rating

Contact us at files@mathworks.com