The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
60 views

Generating matrix of distances between points in cylindrical coordinates

I am working on an analytical model for the sound intensity generated from a vibrating cylinder. Part of this work requires me to split the cylinder up into a number of elements, with the more ...
1
vote
1answer
138 views

Shortest distance path on contour plot

I have a contour plot made of the following list: ...
6
votes
2answers
142 views

Good way to create a similarity / distance matrix for a large dataset [duplicate]

I have a large dataset with rows (100k+) for products and columns for features. Now I want to create a similarity matrix with NormalizedSquaredEuclideanDistance. ...
0
votes
1answer
37 views

min distance in a graph

How would I find the min distance between two vertices in a graph. What function should I use? For example, in the above, $d(2,4)=2$ and $d(2,3)=1$
13
votes
1answer
2k views

What is the closest star to Earth other than the sun?

How to find the Sun's nearest neighbor star using Mathematica? I tried but it didn't work
4
votes
3answers
180 views

Remove 2D points where nearest neighbor exceeds certain distance

I have the following 2D points: ...
4
votes
0answers
164 views

Tracking coordinates [closed]

I have a list (=data) of 2d coordinates, whereby: Dimensions[data] = {l, m, n}. The coordinates (index n) are belonging to ...
5
votes
3answers
360 views

Mean distance beween nearest 2 coordinates

I have as an example the following 2d-coordinates: ...
16
votes
1answer
527 views

Is ColorDistance symmetric?

Is the function ColorDistance symmetric, i.e. is it always true that ColorDistance[a,b] == ColorDistance[b,a], as use of the ...
7
votes
1answer
120 views

Challenging matrix sorting request?

I have an application in mind, and I need to do the following analysis, but am having a high degree of difficulty conceptualizing it in terms of syntax. I understand what I want, but cannot seem to ...
3
votes
1answer
110 views

FindShortestTour 3D data

I would like to plot a line in 3D with the following set of (x,y,z) data points: ...
1
vote
2answers
79 views

Discrete Measure between Binary Vectors

I would like a discrete distance measure between two binary vectors (or strings). Like HammingDistance but I want the vectors to be considered closer if they have ...
4
votes
0answers
158 views

How to make distance transform invariant to scale?

I am trying to use a distance transform as a descriptor to encode silhouettes in order to do a shape recognition task. It is clear that distance transform distribution is invariant under rotation and ...
1
vote
0answers
227 views

Manahalobis distance between two vectors

I want to calculate the Mahalanobis distance between two vectors that represent two points. For example: ...
4
votes
2answers
508 views

Find nearest distance of an interior point from perimeter

By definition, the interior point is a point inside an arbitrary region like this: In picture above, $y$ is an interior point of region. My question is how to find the distance of an interior point ...
11
votes
2answers
400 views

How to get the distance of Jupiter from the sun?

I am aware of the command AstronomicalData["Jupiter", "Distance"] from which I can get the distance between the earth and Jupiter. Is there any way to use ...
5
votes
1answer
294 views

What algorithm and tools should I use to search a data set for the point nearest to a given point?

I have about 1,000,000,000 points, which are the longitudes and latitudes of some places in a city, formatted like this: $(106.1231233,41.43234234)$. I also have about 20,000 points which are the ...
2
votes
4answers
232 views

Find time since last 0 in list

When I have a list of data (measured per day), is it possible to define a function that gives the nr of days since the data has been 0? I tried working withPosition...