Professional Documents
Culture Documents
%[length(x) size(Y,2)].
%
%F'(x) is only computed if a second output argument is provided.
%
% Peter F. Cervelli, U.S. Geological Survey, version 1.0, 2014/07/29.
% pcervelli@usgs.gov
if size(X,2) == 1
X = X';
end
N = length(X);
nx = length(x);
T = bsxfun(@minus,X,X')