I have a function and I use polynomial approximation of the function in Matlab, then I calculate the differentiate of the function
ppp = fit(x,y, 'poly9')
polydiff = differentiate(ppp, x)
I would like to do the same in numpy
fx = np.polyfit( x.T, y.T, 9 )
What is the equivalent function of the differentiate?