Code covered by the BSD License  

Highlights from
Interactive Derivative

image thumbnail
from Interactive Derivative by Tom O'Haver
Interactive Derivative for time-series signals.

InteractiveDerivative4(n,h)
function InteractiveDerivative4(n,h)
% Re-draws graph when Order slider is changed
% Tom O'Haver, July 2006
global x
global signal
global derivative
global Exponent
global Order
global SmoothWidth
global Exponent
global Scale
Order=round(n);
InteractiveDerivativeRedraw

Contact us at files@mathworks.com