Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Re: second derivative
Posted:
Jun 3, 2008 4:04 PM


"Lu " <lu_yu@nacm.com> wrote in message <g219l2$k56 $1@fred.mathworks.com>... > Hi, > > Somehow I can't find my last thread regarding calculating > second derivative. I still can't figure it out how I can > compute approximate second derivatives for (x,y) data. > > Thank you!
if y=f(x) then the first derivative is y1=diff(y)./diff(x) The second derivative is y2=diff(y1)./diff(x) don't forget that the size of y1 is less than the size of y by one and the size of y2 is less than the size of y by two
Aasim Azooz



