function [j,s] = J(x,Dt) for n = 0:1:sqrt(length(x)) j(n+1) = mean((x(n+1:end)-x(1:end-n)).^2); end s = Dt*[0:1:length(j)-1];
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)