|
Further Examples: FindFit
Here is a list of points.
In[1]:= 
This finds the values of c and d that give the best linear approximation to points.
In[2]:= 
Out[2]= 
This plots the line together with points.
In[3]:= 

This finds the values of c, d and e that give the best quadratic approximation to points.
In[4]:= 
Out[4]= 
This shows the quadratic together with points.
In[5]:= 

Here is a trigonometric polynomial of degree .
In[6]:= 
This finds the values of the parameters that give the best fit of trigpoly to points.
In[7]:= 
Out[7]= 
This shows trigpoly together with points.
In[8]:= 

In[9]:= 
|