in a vector of numbers, seeks the index coresponding to the value which is the closer to a given number
x_index = indexseek(x,value);
a vector of dimensions (q x 1)
a number
an integer between 1 and q
[xindex]=indexseek(x,'1148')