PH 393

Name

Solution

Linear Curve Fitting, Interpolation and Extrapolation Exercises

 

For each exercise below you are to provide the MATLAB m-files, a clean copy from the command window showing the answers properly labeled as comments at the end of the m-file.  Clean copy means have the command window only show the answers asked for.  Please remove all excess spaces, blank lines, etc. Where asked produce full page plots with appropriate titles, axis labels, etc.

 

On my classes website http://physics.nmu.edu/~ddonovan/classes.html in the PH 393 section there is a link Data for Linear and Non-linear Curve Fitting Exercises.  This will provide you with a zip file that contains data files to be used for these two sets of homework related to curve fitting.  Download this file and extract the files to a folder in your MATLAB path so that you can load and use the data files.  They are all two column data files in which the first column is the x data and the second is the f(x) or y data.

 

You are to fill in this document and when it is completed, print it out and turn in with MATALB interspersed appropriately. (i.e. after problem 1 put the MATLAB work that belongs to problem 1, after problem 2, put the MATALAB work that belongs to problem 2 etc.)  Your name should also be printed and not hand written.

 

Back To Dr. Donovan's Courses Page

 

Back To Dr. Donovan's Homepage

 

Physics Dept. Homepage

 

NMU Homepage

 

Please send any comments or questions about this page to ddonovan@nmu.edu

This page last updated on October 9, 2015