Assignment 3 - Interpolation and Curve Fitting

  1. Fitting noisy data to $y=5xe^{-3x}$.
  2. Write a MATLAB program to fit a cubic to the data which is generated in the previous question. Evaluate the cubic on the data. Compare this polynomial with the functions ($f(x)$ and $g(x)$) used in the previous question by plotting all these functions on the same graph.
2005-07-23