About 105,000 results
Open links in new tab
  1. max - Maximum elements of array - MATLAB - MathWorks

    If A is a vector, then max(A) returns the maximum of A. If A is a matrix, then max(A) is a row vector containing the maximum value of each column of A. If A is a multidimensional array, then max(A) …

  2. How to find the maximum value of a function? - MathWorks

    Apr 22, 2020 · and I want a numerical value because I need to use the scalar maximum for other calculations. If I procede with this code then "acos (- 33^ (1/2)/8 - 1/8)" shows in every following …

  3. Maxima, Minima, and Inflection Points - MATLAB & Simulink Example

    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 …

  4. How do I find the indices of the maximum (or minimum) value of my ...

    Oct 7, 2009 · The 'find' command only returns the indices of all the non-zero elements of a matrix. I would like to know how to find the indices of just the maximum (or minimum) value.

  5. max - Maximum elements of symbolic input - MATLAB - MathWorks

    For an input A that contains symbolic expression, the symbolic max function returns an unevaluated expression that is reduced by eliminating arguments that do not represent maximum values. The …

  6. max - Largest element in array of fi objects - MATLAB - MathWorks

    max(___) finds the indices of the maximum values and returns them in array I, using any of the input arguments in the previous syntaxes. If the largest value occurs multiple times, the index of the first …

  7. How to find max value for a function between 2 specified values

    Apr 24, 2023 · Hi, I'm wondering how the max function can be used to both find the maximum output value, the given input value that results in that output, and only to search within a specified range. …

  8. max value of a function - MATLAB Answers - MATLAB Central

    Aug 8, 2022 · The func that I gave in my question is an example of the sum of functions for 2 specific words, and because of the letter combination it has two peaks. For further calculations I need only …

  9. To find the maximum value in a matrix? - MathWorks

    Jul 10, 2011 · The max function's first two inputs are the two matrices whose values you want to compare. If you only want to compute the maximum of one matrix, you need something to use as a …

  10. How to find maximum value of all signals in Simulink?

    Apr 24, 2025 · I am trying to find out the optimized values of a controller, like say, PID controller for a closed loop control system in Simulink using an optimization algorithm. The objective function J to be …