Questions on finding the largest value of a set, extreme values of an expression, or on Mathematica functionality for maxima testing.

learn more… | top users | synonyms

5
votes
2answers
172 views

Get envelope of a set of functions?

I'm new with mathematica and I'm trying to solve a problem. I have a set of functions in the same variable. Let's say the domain is [0,2]. I would like to get an ordered list of the functions ...
-1
votes
1answer
46 views

How to graph the max and min values of a sheet?

Hi I just start working in Mathematica version 10.3.1 and I want to graph a sheet of data that I created in Excel (yeah i use Windows). The problem is i have so many data; 200 columns and 50 row of ...
5
votes
2answers
263 views

Max of imported numerical data will not work

I loaded a list with 400,000 values from a file. The list was loaded correctly as I can get it's length (by Length[]) and I can also plot it. Why can't I get the Max or Min of this list though? When ...
1
vote
2answers
120 views

Ploting horizontal lines in a ListLinePlot?

Hello i have made a graph with a oscillating behavior but i need to highlight the maximum value of the oscillation because i will use that value like a threshold and I need to put a horizontal line in ...
2
votes
2answers
300 views

Put markers in the maximum values in a Plot

I have made my graph of a list of data with the following code: ListLinePlot[data, PlotMarkers -> {Automatic, 10}] So this way I can see some markers in the ...
1
vote
2answers
67 views

Add elements to the maximum values of a list

Hi i have a list of n elements and i want to know the 30 maxim values of list without changing his order. And suppose that i have a second list with n elements and i want to add this elements to the ...
2
votes
2answers
92 views

MaximalBy with infinity

I don't understand why this doesn't work: MinimalBy[{{1, -Infinity}, {2, 3}}, Last] it outputs {2,3}!
3
votes
2answers
96 views

Retaining relative sizes of local maxima using MaxDetect[List]

I would like to be able to find the position of the two greatest local maxima in a list. For the example: list={1,2,3,4,2,1,2,6,5,4,3,2,} I would like to return <...
3
votes
1answer
68 views

Recognising degenerate maxima in a matrix

Say I have the following matrix $\left( \begin{array}{cccccc} 1. & 0 & 0 & 0 & 0 & 0 \\ 0 & 0.707107 & 0 & 0 & 0 & 0.707107 \\ 0 & 0.707107 & 0 &...
-2
votes
1answer
200 views
4
votes
1answer
279 views

How to draw a tropical surface?

By definition, a tropical surface in $\mathbb R^3$ is the set of points $(x,y,z)$ where the maximum $f=\max(f_1,f_2,\dots,f_n)$ is attained at least twice, here $f_i$ stand for some linear functions ...
2
votes
2answers
130 views

Only one root at specific interval

I need a help to find k here: $f(x)=-k^x + x^2$ It is not too simple. I have interest to find the single value of "k" where, inside interval {x,2,3}, the function have only one value to x when f(x) =...
0
votes
0answers
228 views

How to find Multiple Maxima/Minima [duplicate]

I am trying to solve a problem that requires finding multiple maxima of a numerical function. So the function generates some numbers that are coming out of an experiment. I tried using NMaximize or ...
1
vote
2answers
118 views

Find maximum of 'y' coordinates from a list of duplicate 'x' coordinates

I have a multidimensional-variable list, suppose for example {{x1,y1},{x2,y2}..}. I have duplicate values for the 'x' coordinates and I need to find for the duplicate 'x' elements the corresponding ...
1
vote
2answers
110 views

Performance in calculating maximum-likelihood- based estimates

My probability density function is a complicated one for which numerical estimation is necessary. Here my pdf: ...
1
vote
1answer
131 views

Why `FindMaximum` doesn't work in my example

Consider the following function ...
1
vote
2answers
196 views

Incorporating the minimum and maximum of the function in a Dynamic plot

I'm working on my project for class and it's supposed to be a graph that can take functions from the user and display it along with finding the max and min of the graph. But I just don't know how to ...
1
vote
1answer
107 views

Maximising solutions of NDSolve [duplicate]

I have the following system of differential equations ...
2
votes
4answers
440 views

How do I find the position of the maximum value in each column of a table?

Given a table of values, I know how to find find maximum values, but how do I find the position of the maximum value in each column. For example, given ...
4
votes
1answer
129 views

How can I find the greatest of this expression?

I want to find the greatest of the expression $$P=a \sqrt{12-b}+\sqrt{b\left(12+a^2\right)}+66\sqrt{a^2+b+3}-\left(a^2+b\right)^2$$ with $a >0$, $0<b\leq 12$. I tried ...
1
vote
3answers
491 views

Finding maximum value with position from Table of values

I have this table of values, how do I find the maximum value? i.e. find $z_{max}(x,y)$ ...
-1
votes
1answer
183 views

Finding the maximum of a gradient vector

Im trying to find the maximum of my gradient vector G[x,y], I've tried several options including FindMaximumValue, FindMaximum etc. but i couldn't find it. The full function is shown below, any help ...
0
votes
2answers
441 views

How to find a max point from discrete data of function?

I have a lot of points like $\{\{x_1,y_1,z_1\},\{x_2,y_2,z_2\},...,\{x_n,y_n,z_n\}\}$ which obtained by a function $z=f[x,y]$, and I want to find the max point of $z$, say $z_i$, and return the point ...
1
vote
1answer
493 views

How to find the local maximum of a list [duplicate]

I have imported a wav sound that a = Import["sound.wav"] and we know that soundStrength = a[[1]][[1]] is a list of sound ...
1
vote
1answer
90 views

Moving the start of a graph to the right, finding maxima in an oscillator

I have the following code written to simulate a driven damped oscillator ...
2
votes
1answer
288 views

Finding the optimal teams ranking based on the table of match results

My original question was this: So my task is to score all the possible rankings of the 14 SEC football teams and find the best one, using who won in head-to-head games as the sole criterion (...
19
votes
5answers
2k views

Moving maximum function?

How can I construct a moving maximum function? For example, if I have a list of 12 values: { 5, 6, 9, 3, 2, 6, 7, 8, 1, 1, 4, 7 } and I want to maximize over 3 ...