No products are associated with this question.
Here are a couple links that explain it about as clearly as possible:
Numerical differentiation formulas (Gives an example using a 4-point first derivative)
Note that if f(x) is the function you are differentiating (here the numerical data you have), h is the step size, that is:
h = x(k + 1) - x(k);
I have experimented with the algorithm for the 5-point first derivative. It is easy to implement, accurate, and reasonably precise.
Thanks alot friends. but i certainly did google the term matlab implementation of 5 point difference and go no satisfactory result. that is why i came over here to help. if you think i want free volunteers to do my work for me, its better you dont reply back to the answer instead of passing senseless comments