Changeset 815
- Timestamp:
- 08/06/15 09:08:28 (10 months ago)
- Location:
- mystic/examples2
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mystic/examples2/polyfit.py
r813 r815 6 6 # - http://mmckerns.github.io/project/mystic/browser/mystic/LICENSE 7 7 """ 8 Fit linear and quadratic polynomial to noisy data 8 Fit linear and quadratic polynomial to noisy data: 9 y(x) ~ a + b * x --or-- y(x) ~ a + b * x + c * x**2 9 10 10 11 where: 11 12 0 >= x >= 4 12 y = y0+ yn13 y0 = 1.5 * exp(-0.2 * x) + 0.313 y(x) = y0(x) + yn 14 y0(x) = 1.5 * exp(-0.2 * x) + 0.3 14 15 yn = 0.1 * Normal(0,1) 15 16 """
Note: See TracChangeset
for help on using the changeset viewer.