function [y] = d(x) y = diff(x);