Skip to main content
2 of 2
Formatted code
MarcoB
  • 67.7k
  • 18
  • 96
  • 198

List manipulation Interval Intersection

I'm having some troubles manipulating a nested list:

{{2.5285, 2.54381}, {1.77463, 1.0246}, {1.30668, 1.31949}, {0.986982, 1.78699}, 
 {1.71224, 0.00986564}, {0.733888, 0.768184}, {0.0570823, 1.71373}}

I need to remove any list whose elements are not in some Interval[{0, x}], if the interval is [0, 1] I should keep only {{0.733888, 0.768184}}

The nested list may be of n elements {{a1, b1, d1, ..., n1}, {a2, b2, ..., n2}, ...}

Any idea?

Rodrigo
  • 111
  • 7