02-05-2018 09:47 AM
Hello,
I would like to ask how I can realize the following function in DIADEM. I have table of data
Speed: 0 6 20 55 170 190
Distance: 3 7 13 17 50 50
Now I should interpolate that matrix, that DIADEM will recognize what speed value corresponds to Distance value within the whole range.
After that I will upload a speed-signal and DIADEM will draw distance-graph according to the table above.
02-06-2018 04:34 PM
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.
02-07-2018 10:03 AM
Thank you very much for your reply.