search for: defferentiate

Displaying 1 result from an estimated 1 matches for "defferentiate".

2011 May 25
0
approximate function and find local peaks (Maxima or Minima)
....5 25  2011-05-02 10:01:20 7601.5 I want to approximate this data (actually I dont care, whether keep the time information, or lose it, while making it a function) With approxfun( ), it seems, like I managed to apprximate a function. f <- approxfun(2:nrow(CB), CB[2:nrow(CB),2]) But how do I defferentiate f()? g<-deriv(f(2:nrow(CB)),"x") Did not work out for me, or at least, I dont know how to get those "x", with g(x)=0. My ultimate goal, is to find all the local minima of CB[,2]. (min() gives only the global minimum) Any suggestions how to do it? Thanks for your help in...