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.

s=boxcar(w)
function s=boxcar(w)
%  boxcar(w) = Rectangular function of width w
%  T. C. O'Haver, 1988.
s=ones(1,w);

Contact us at files@mathworks.com