function Hd = velocityFilterSPTool
%VELOCITYFILTERSPTOOL Returns a discrete-time filter object.

%
% MATLAB Code
% Generated by MATLAB(R) 8.0 and the Signal Processing Toolbox 6.18.
%
% Generated on: 22-Jan-2014 17:43:52
%

% Equiripple Differentiator filter designed using the FIRPM function.

% All frequency values are in Hz.
Fs = 0.5;  % Sampling Frequency

N = 10;                  % Order
F = [0 0.125 0.2 0.22];  % Frequency Vector
A = [0 1 0.001 0.001];   % Amplitude Vector
W = [1 1];               % Weight Vector

% Calculate the coefficients using the FIRPM function.
b  = firpm(N, F/(Fs/2), A, W, 'differentiator');
Hd = dfilt.dffir(b);

% [EOF]
