Hello fellow MATLAB users,
I am currently writing a MATLAB function for which I need some help.
I have an array and a value:
X = [0, 10, 20];
value = 17;
I need to find the indices of the X in which the value lies:
Here the answer will be X and X.
But I am not sure how to do this. I would really appreciate any help I can get.