Comparing two groups of values
Dear community,
I turn to you once again hoping that with your generous assistance, we can resolve the following issue.
I want to compare two groups of values, M and N, both of which may have variable ranges, denoted by i and j respectively. The resulting group R should have the same range as M and should take the corresponding values from N, in this case, the value of Nj that is less than or equal to Mi.
I am using Mathcad Prime 9.0.0.0. and I have attempted to configure several programs to achieve this without complete success, but I believe I am unable to set it up with the correct syntax to achieve the desired result.
I am attaching an image for clarity, in case it may help. Thank you very much in advance for your support.
Germán



