|
SOLUTIONS
|
NormFunction
NormFunction
is an option for functions such as FindFit and NDSolve which gives a function to be minimized in generating results.
DetailsDetails
- NormFunction->f specifies that
should be minimized in generating results.
ExamplesExamplesopen allclose all
Basic Examples (2)Basic Examples (2)
Find a "best" fit for data using different norms:
| In[1]:= |
| Out[1]= |
The default is to find the best least-squares fit:
| In[2]:= |
| Out[2]= |
| In[3]:= |
| Out[3]= |
| In[4]:= |
| Out[4]= |
Use a 2-norm for estimating local error in solving an ODE:
| In[1]:= |
| Out[1]= |
| In[2]:= |
| Out[2]= |
The error measure makes a difference in the solution quality:
| In[3]:= |
| Out[3]= |
New in 5
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
