Skip to main content
edited tags
Link
Mr.Wizard
  • 275.2k
  • 34
  • 606
  • 1.5k
Tweeted twitter.com/StackMma/status/1022406354416427008
edited body
Source Link
kglr
  • 403.4k
  • 18
  • 501
  • 959

Suppose I have a list:

l={{1,4},{2,4},{3,5},{4,6},{5,3},{6,2}}

How can I select the elements of the list in the second element is decreasing and first element of the list increasing? That is, I want '{{1,4},{2,4},{5,3},{6,2}'{{1,4},{2,4},{5,3},{6,2}?

I know there is a simple function in Mathematica to do this. But I cannot find it.

Suppose I have a list:

l={{1,4},{2,4},{3,5},{4,6},{5,3},{6,2}}

How can I select the elements of the list in the second element is decreasing and first element of the list increasing? That is, I want '{{1,4},{2,4},{5,3},{6,2}'?

I know there is a simple function in Mathematica to do this. But I cannot find it.

Suppose I have a list:

l={{1,4},{2,4},{3,5},{4,6},{5,3},{6,2}}

How can I select the elements of the list in the second element is decreasing and first element of the list increasing? That is, I want {{1,4},{2,4},{5,3},{6,2}?

I know there is a simple function in Mathematica to do this. But I cannot find it.

Copy edited - but more work is needed for the sentence containing "select the elements of the list in the second element is decreasing". Removed meta information (this belongs in comments).
Source Link

select Select the cases by comparing the second elements of the list

Suppose I have a list:

l={{1,4},{2,4},{3,5},{4,6},{5,3},{6,2}}, how

How can iI select the elements of the list in the second element is decreasing and first element of the list increasing? thatThat is, I want '{{1,4},{2,4},{5,3},{6,2}'?

I know there is a simple function in Mathematica to do this. But I cannot find it. If it is considered duplicate, Please mark it as duplicate.

select the cases by comparing the second elements of the list

Suppose I have a list

l={{1,4},{2,4},{3,5},{4,6},{5,3},{6,2}}, how can i select the elements of the list in the second element is decreasing and first element of the list increasing? that is I want '{{1,4},{2,4},{5,3},{6,2}'?

I know there is a simple function in Mathematica to do this. But I cannot find it. If it is considered duplicate, Please mark it as duplicate.

Select the cases by comparing the second elements of the list

Suppose I have a list:

l={{1,4},{2,4},{3,5},{4,6},{5,3},{6,2}}

How can I select the elements of the list in the second element is decreasing and first element of the list increasing? That is, I want '{{1,4},{2,4},{5,3},{6,2}'?

I know there is a simple function in Mathematica to do this. But I cannot find it.

Source Link
no-one
  • 1.2k
  • 9
  • 15
Loading