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.

DerivativeBackground(n,h)
function DerivativeBackground(n,h)
% Re-draws graph when Background slider is changed
% Tom O'Haver, July 2006
global t
global signal
global Scale
global Order
global SmoothWidth
global Exponent
global amp
global pos
global wid
global Noise
global amp
global pos
global wid
global Noise
global NoiseArray
global Background
global BackgroundPosition
Background=n;
RedrawDerivative

Contact us at files@mathworks.com