|
From: | Ismael Núñez-Riboni |
Subject: | Re: function minimization |
Date: | Tue, 26 Jun 2012 20:25:24 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
Two fast solutions: 1) plot(y,f)And then make click with the middle button of the mouse over the minimum to get its values on the plot...
2) y( y == min(y))but this is perhaps not as exact as you might want (not implicit interpolation)...
otherwise try help rootsor finaly: there are a couple of minimization functions, but you don't need them because you have a polynomial, this should not be a big problem, roots should make the job...
[Prev in Thread] | Current Thread | [Next in Thread] |