About 1,640,000 results
Open links in new tab
  1. Maxima, Minima, and Inflection Points - MathWorks

    Now find the local minimum and maximum of the expression f. If the point is a local extremum (either minimum or maximum), the first derivative of the expression at that point is equal to zero. To compute the derivative of an expression, use the diff function.

  2. fminbnd - MathWorks

    x = fminbnd(fun,x1,x2) returns a value x that is a local minimizer of the scalar valued function that is described in fun in the interval x1 < x < x2.

  3. How to find max and min value of a function - MathWorks

    May 22, 2020 · Finding the value of inputs that minimzes or maximizes the objective function value is an optimization problem. If your function is linear, then you run the following code and …

  4. BRENT - Algorithms for Minimization Without Derivatives

    Dec 3, 2018 · BRENT is a MATLAB library which contains algorithms for finding zeros or minima of a scalar function of a scalar variable, by Richard Brent. The methods do not require the use of derivatives, and do not assume that the function is differentiable.

  5. Minimum and maximum values of a function with endpoints: MATLAB

    May 4, 2014 · I am trying to evaluate and find the minimum and maximum values of a function over a certain interval. I also want it to evaluate the endpoints to see if they are the maximum or the minimum values.

  6. Finding the maximum and minimum of a function - MATLAB Answers - MATLAB ...

    May 18, 2018 · Without further restrictions on x (1),...,x (6), the maximum of your function is +Inf and the minimum is -Inf.

  7. Matlab find min/max of function - Stack Overflow

    Oct 1, 2017 · You could use the already existing function x = fminbnd(fun, x1, x2) which gives you the min for a function handle fun in the range of x1 and x2. To get the max you could just use the negative of your function handle. Your function could look like this: min = fminbnd(f, lowerbound, upperbound); max = fminbnd(@(x) -f(x), lowerbound, upperbound);

  8. How do I find the maximum and minimum of a function in a

    Jul 18, 2021 · I'm trying to find the max and min of a function over a function, but I can't seem to figure out how. My equation is y = (1*x^4)/4+ (4*x^3)/3- 5* (x^2)/2 over -3<=x<=3.

  9. how to write a function to find max & min value in array

    Jul 10, 2011 · You should have used a () instead of array () because a is the matrix while array is your function's name. Also note that MATLAB is case sensitive so Array and array are different.

  10. Find the minimum of "y=x*x" using genetic algorithm in Matlab

    Jan 22, 2012 · You should use ga (@ (x)parabola (x),1). When calling the "ga" function, You need to specify the optimization parameters.

  11. Some results have been removed
Refresh