Input x is the sampled signal vector, may have both AC and DC components. Output y should not contain any DC component.
Input x = [ 1 2 3 2 1 2 3] Output y = [ -1 0 1 0 -1 0 1]
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry PiLearn more
Opportunities for recent engineering grads.Apply Today
New to MATLAB?Learn MATLAB today!
Play games and win prizes!Learn more