From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
You could use ChnApprXYCalc() function to generate an approximated speed and distance channels. Then compare the speed signal values against the approximated speed channel and determining the corresponding distance value. In you example I used linear interpolation but you can use different settings. I attached an example file (containing your matrix and a fake speed channel) that I used and the script I ran on that file to get the resulting distance output values.