Code covered by the BSD License
function xy = solver(kd,bx) % Copyright 2002 The MathWorks, Inc. % place points in a straight line down the middle npts = size(kd,1); xy = zeros(npts,2); xy(:,2) = (bx(3) + bx(4))/2; xy(:,1) = linspace(bx(1), bx(2), npts)';
Contact us