Hi,
Is there a quick way of finding if numbers in a vector falls in between a
range defined in another matrix.
As an example let
x   y
0      1   3
2      6   9
25    15  18

I want to check one by one whether 0,2 and 25 falls in any of the ranges in
y.
I am using 2 for loops but it is taking a huge amount of time.
is there any other alternative way to do this?

best,
salih

	[[alternative HTML version deleted]]

