\documentclass[12pt]{article}
\usepackage{graphicx}
\usepackage{mathtools}
\usepackage{url}
\topmargin -0.5in
\oddsidemargin -0.0in
\evensidemargin -0.0in
\textheight 9in
\textwidth 6.5in
\begin{document}
%\pagestyle{empty}

\title{Lab \#2 - nonlinear regression}
\author{}
\date{}

\maketitle


In this lab, each student is to develop code to calculate a nonlinear
regression fit.  Note you may not call a single high-level function
in MATLAB or another package to do the fitting; you must implement
the root finding method discussed in class.
The code can be developed in MATLAB, C, or any high level language.

The fitting should be run on the following three data files log-data-A,
log-data-B and log-data-C, found at:
\url{https://cecas.clemson.edu/ahoover/ece854/labs/}.
In each file the two columns of the data are $x_i$, $y_i$.

The data follows a problem outlined in class and in the lecture notes.
Fit a function of the form $y=\ln(ax)$ where $a$ is the unknown.

The report should derive the math required for the nonlinear regression.
It should show plots of the data for each file.
It should also report the initial value of $a$ used to start the regression,
final value of $a$ found at the end of the regression,
and number of iterations needed to converge.
You are encouraged to try different initial values of $a$ to observe
its effect on convergence.

You must submit your report to Canvas.  This report is due by midnight
of the due date.



\end{document}







