Hi Jon,
the gradient usually is calculated by delta(x)/delta(y), so:
- calc the delta of x- and y-array
- divide both results
This will give you the "gradient" pointwise. You may now calc the mean value, if applicable...
Best regards,
GerdW

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019