You are on page 1of 1

umber of columns, such that the size of y (and ydot) is given by

%[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')

You might also like