Skip to main content
Best answer by Werner_E

See if the attached file helps!

 

You may replace the "R" after "if k>=O" by "csort(R,O)" if that suits your need better.

 

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
October 15, 2021

See if the attached file helps!

 

You may replace the "R" after "if k>=O" by "csort(R,O)" if that suits your need better.

 

18-Opal
October 15, 2021

Thank you for that. How can I also choose one that does not match?

25-Diamond I
October 15, 2021

@ppal_255687 wrote:

Thank you for that. How can I also choose one that does not match?


Not sure what you mean???

All the combination of two indices which are NOT in the list my program return correspond to values which are farther apart than the tolerance given.