I am trying to check if in two vectors having multiple entries containing pair of ranges, whether a range from one vector is part of another range?
I have one test range vector, which contain pair of entries such as: tr=[99 143]; The entries may be more than one pair also. I'm trying to check whether this range is sub-range of any of the paired entries from another vector, such as v=[9 79 97 190 205 278 293 304];
Im using MATLAB platfrom. The answer from above example should be 97-190.