Hi Wendy,
In Origin7 you can use this function
int Curve_derivative( curvebase * pcrvData, curvebase * pcrvResults, int nOrder = 1, double dSmoothness = BSPLN_OFF, Dataset * pdsWeights = NULL )
Example code:
void test_Curve_derivative()
{
Curve crvData("Data1_X", "Data1_Y");
Curve crvResult("Data1_X", "Data1_Deriv");
crvResult.SetSize(crvData.GetSize());
int nOrder = 1;
Curve_derivative(&crvData, &crvResult, nOrder);
}
Iris