Linked Questions

0
votes
0answers
45 views

Something like MinDetect but for saddle points [duplicate]

MinDetect will find all minima in an array of data of any rank. Is there something similar for finding all stationary points? i.e Given an array of data, find all minima, maxima, and saddle points of ...
76
votes
9answers
5k views

Updating Wagon's FindAllCrossings2D[] function

Stan Wagon's Mathematica in Action (second edition; I haven't read the third edition and I'm hoping to eventually see it), demonstrates a nifty function called ...
70
votes
5answers
22k views

How to find all the local minima/maxima in a range

I want to find : all local maxima in range all local minima in range From those points I can interpolate and combine functions upper and lower boundary. What I am really interested in, is the mean ...
34
votes
5answers
5k views

Efficiently generating n-D Gaussian random fields

I am interested in an efficient code to generate an $n$-D Gaussian random field (sometimes called processes in other fields of research), which has applications in cosmology. Attempt I wrote the ...
12
votes
3answers
4k views

Finding all maxima and minima of a function

To find all (global and local) extrema of a function in $\mathbb R^3$, I have written the following. Example function: ...
12
votes
3answers
2k views

Finding “Maxima” and “Minima” on a B-Spline

I need to find the "Maxima" and "Minima" on a B-Spline or more correct the points where the 2nd components of the derivate equal zero. For example: ...
18
votes
1answer
2k views

How do I find all the solutions of three simultaneous equations within a given box?

Sometimes, one needs to find all the solutions of three simultaneous nonlinear equations in three unknowns $$\begin{align*}f(x,y,z)&=0\\g(x,y,z)&=0\\h(x,y,z)&=0\end{align*}$$ within a ...
15
votes
2answers
265 views

3D Thinning algorithm in Mathematica

as far as I understood Thinning[] only works on 2D images thus far. Is there a library/piece of code that performs 3D Thinning in Mathematica? Max edit: I want ...
4
votes
3answers
3k views

Points of Intersection

How to numerically find points of intersection between pair of curves (Here,a circle and a parabola) ? Finding it a bit messy as, for a point on one curve, slope of the other is involved. ...
13
votes
1answer
656 views

Morphological Filtering in 3D to produce skeletons

Context As a follow up of this question and that answer, I would like to identify the special lines separating 3D watersheds. These are useful in the context of astronomy to identify the ...
10
votes
2answers
279 views

Integration of Booles and Gaussians in high dimensions

Context As a follow up of this question, I would like to predict the connectivity of the so-called cosmic web in arbitrary dimensions. The connectivity $\kappa$ is defined as the number of ridges ...
6
votes
1answer
476 views

Connect neighbouring points as list of segments in 2 D

Context I am interested in connecting neighboring points in 2/3D as list of segments. I am guessing this is something within the reach of graph theory, which is well implemented in mathematica. ...