Suppose I have a function $f(x,y)$ of two variables $x$ and $y$. Suppose that: for each fixed $y$, the function $f(x,y)$ is non-zero, odd and periodic in $x$, with one maximum and one minimum in the period $x \in [0, h(y)]$. So here the period $h(y)$ depends on $y$.
Now I define the function $g(y) = \min_{x} f(x,y)$ , i.e. $g$ is defined as the minimum of $f(x,y)$ in $x$ for each $y$.
How can I plot $g(y)$?
f[x,y]
would be helpful. $\endgroup$ – Chris K Nov 1 '17 at 18:21Plot[g[y],{y,0,h[y]}]
namely theh[y]
in the range for y? $\endgroup$ – user42582 Nov 1 '17 at 18:53Plot
but withNMinValue
possibly; also, it would be a good idea-like others have suggested already-if you could provide a minimally functional instance of your problem in order for more knowledgeable users to provide concrete guidance; this is too hand-wavy, if I may say so $\endgroup$ – user42582 Nov 2 '17 at 7:08