Skip to main content

Questions tagged [sorting]

Questions on the sorting/ordering functions of Mathematica (Sort, SortBy, Ordering, etc.).

4 votes
1 answer
150 views

Say I have a list containing some expressions, for instance ...
eddy ardonne's user avatar
0 votes
1 answer
103 views

I have random data in the polar coordinates and want to arrange them according to $r$ and $\theta$. This is the desired order ...
MMA13's user avatar
  • 5,650
1 vote
0 answers
97 views

I am trying to evaluate eigenvalues of the matrix 4x4. The problem is, that when the eigenvalues crosses, Mathematica changes the order and it is differ from its analytical expression. Here is the ...
blahblah's user avatar
  • 143
4 votes
2 answers
248 views

From several posts (15023, 31038) we know how to get the multidimensional Series-expansion of a function f ...
Ulrich Neumann's user avatar
0 votes
3 answers
219 views

While solving my study problem (I need to programme an algorithm called "slab decomposition") I faced some troubles connected with sorting an array. So, I have an association array, where a ...
georgesp's user avatar
1 vote
0 answers
91 views

I am a newbie to Mathematica and this is my first question on this forum. Thus, I will excuse myself in advance if I am asking a trivial question or if I am not following the correct practices. Given ...
DesperateGrad's user avatar
2 votes
0 answers
187 views

I'm trying to calculate the upper confidence interval for the hypergeometric distribution in mathematica and I came up with this very simple code. ...
Dotman's user avatar
  • 590
4 votes
2 answers
158 views

I get an unexpected output when I do ...
wdacda's user avatar
  • 415
1 vote
3 answers
206 views

I have the polynomial ...
youthdoo's user avatar
  • 647
4 votes
4 answers
287 views

We need to Tally a list of lists only by considering the first element of the sub lists and then sort the resulting list. As a simple example consider ...
SPJ's user avatar
  • 185
1 vote
0 answers
46 views

Can we use (and perhaps even understand) the sorting functions used in the various output forms (such as OutputForm, TraditionalForm, TeXForm, etc...). This is motivated by the fact that I would like ...
Kvothe's user avatar
  • 4,931
0 votes
2 answers
246 views

What's the best way to find smooth curves in an image? I can use EdgeDetect[] to generate a binary image with what looks to my human eye like two distinct smooth curves, and I can get the coordinates ...
David's user avatar
  • 101
2 votes
1 answer
146 views

Consider some dataset ...
John Taylor's user avatar
  • 6,063
8 votes
5 answers
416 views

A quick question on list ordering, how can I easily get the ordering of the list, so that, for {0, Sqrt[3], 2 Sqrt[3], Sqrt[3], 3, 2 Sqrt[3]} I get ...
sam wolfe's user avatar
  • 5,023

15 30 50 per page
1
2 3 4 5
30