%% Plot Triangular Pulse Function

syms x
fplot(triangularPulse(x), [-2 2])

% Copyright 2012 The MathWorks, Inc.