Linked Questions

3
votes
4answers
240 views

Filtering the close values from the list? [duplicate]

I found some difficulty to flatten the data. Let's say we have a list such that, list={-0.0223, -0.0199, -0.0195, -0.0159, -0.0159, -0.0122, -0.0126} You can ...
3
votes
2answers
643 views

Delete duplicates from a list of pairs with a SameTest [duplicate]

I have a list of pairs, for example like this: list = {{1, 1.1}, {1.00001, 1.1000001}, {2, 1}} I would like to delete a pair which is lies within a certain ...
3
votes
1answer
366 views

Efficiently delete cyclic permutations in list [duplicate]

Edit I think I misused the words cyclic permutation. I mean rotating the list, but not changing the order: the permutations I'd like to consider for $a,b,c,d$ are $(b,c,d,a)$, $(c,d,a,b)$, $(d,a,b,c)$ ...
1
vote
0answers
83 views

MemberQ not working? [duplicate]

I'm confused by the following trivial code: {Range[0, 1, .1][[8]]} === {.7} gives True ...
35
votes
3answers
1k views

DeleteDuplicatesBy is not performing as I'd hoped. Am I missing something?

Déjà vu: a new-in-v10 function should provide a better solution to an old problem, but my enthusiasm is curbed when I run timings. This time the function is ...
13
votes
6answers
887 views

Sort+Union on a list

Probably this is too trivial question for this forum but for some reason I am not getting it on my Mathematica 7 so far. I have a list ...
9
votes
4answers
2k views

Checking for duplicates in sublists

I have a list with contains entries that are length 8 sublists,i.e. L1={{a1,b1,c1,d1,A1,B1,C1,D1},{a2,b2,c2,d2,A2,B2,C2,D2},...} and so on. Now, in my problem two ...
9
votes
5answers
635 views

How can I remove matching sublists from my list?

I want to use DeleteCases (or any appropriate function) to remove elements of a list, which in turn are lists of fixed size. The rule I wish to apply is that any ...
10
votes
5answers
2k views

Multidimensional interpolation with duplicate abscissa values [duplicate]

I am trying to do a first order interpolation on a multidimensional data set containing duplicate abscissa values (which Mathematica does not like), like this one: ...
12
votes
3answers
1k views

How to represent a list as a cycle

I want to select distinct cycles (represented by List). The cycle {a, b, c, d} must be the same as {b, c, d, a} or ...
10
votes
2answers
768 views

Intersection for lists of numeric data

I know that Intersection is a pattern matching function and will not evaluate list elements to determine if two or more list have equal elements. So my question is, ...
5
votes
1answer
327 views

DeleteCases vs. DeleteDuplicates for removing points within a critical Euclidean distance

I'm attempting to remove all points in an array which are within a Euclidean distance "ThresDist" of one-another. Using the command: ...
1
vote
3answers
602 views

Sorting a list of points based on their euclidean distance

I need to take a list of random points and then sort them from least to greatest based on their Euclidean distance from a certain point. How would I do this?
3
votes
1answer
184 views

Compare some lists, if elements are almost equal

I've got the solutions of three systems on two variables (a and b) that gives results sometimes almost equal. The three list are not of equal length! For example: ...
0
votes
1answer
52 views

DeleteDuplicates in FindRoot with more than one variable

I'm solving a system of 3 non-linear equations with FindRoot for the variables x, y and <...