elta.m (124B)
1 % Delta.m delta(x): Computes the first difference of x. 2 3 function x=delta(x); 4 [T N] = size(x); 5 x=x(2:T,:) - x(1:T-1,:);