Introduction - If you have any usage issues, please Google them yourself
%LSQCURVEFIT solves non-linear least squares problems.
% LSQCURVEFIT attempts to solve problems of the form:
% min sum {(FUN(X,XDATA)-YDATA).^2} where X, XDATA, YDATA and the values
% X returned by FUN can be vectors or
% matrices.