Prev: Need Help! fft2()
Next: Point Polygon Tangent
From: CFY30 CFY30 on 9 May 2010 22:58 Hi there, Anyone has code on demonstrating how to find the minimum of a surface by steepest descent algorithm? Thanks, cfy30
From: Sven on 16 May 2010 20:41 "CFY30 CFY30" <cfy30(a)yahoo.com> wrote in message <hs7snr$ibs$1(a)fred.mathworks.com>... > Hi there, > Anyone has code on demonstrating how to find the minimum of a surface by steepest descent algorithm? You're going to need to elaborate. What form is the data representing your surface? Why the steepest descent algorithm? What have you tried so far? [X,Y,surfData] = peaks; [minVal, idx] = min(surfData(:)); fprintf('Your min value of %g occurs at X = %g, Y = %g\n', minVal, X(idx), Y(idx))
From: John D'Errico on 17 May 2010 04:28 "CFY30 CFY30" <cfy30(a)yahoo.com> wrote in message <hs7snr$ibs$1(a)fred.mathworks.com>... > Hi there, > Anyone has code on demonstrating how to find the minimum of a surface by steepest descent algorithm? > Why would you want this anyway? It is a terribly slow algorithm in general. Unless of course, this is for your homework assignment, in which case you should be writing it yourself. John
|
Pages: 1 Prev: Need Help! fft2() Next: Point Polygon Tangent |