Linked Questions

0 votes
0 answers
57 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 ...
user12876's user avatar
  • 111
84 votes
9 answers
7k 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 ...
J. M.'s eventual burnout's user avatar
78 votes
5 answers
29k 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 ...
Margus's user avatar
  • 1,987
40 votes
5 answers
8k 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 ...
chris's user avatar
  • 22.8k
16 votes
3 answers
8k 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: ...
eldo's user avatar
  • 60.7k
13 votes
3 answers
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: ...
cxkoda's user avatar
  • 305
19 votes
1 answer
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 ...
J. M.'s eventual burnout's user avatar
16 votes
2 answers
445 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 ...
MaxJ's user avatar
  • 1,535
5 votes
3 answers
5k 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. ...
Narasimham's user avatar
  • 3,138
13 votes
1 answer
771 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 ...
chris's user avatar
  • 22.8k
10 votes
2 answers
309 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 ...
chris's user avatar
  • 22.8k
6 votes
1 answer
647 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. ...
chris's user avatar
  • 22.8k