commit
a8b7efd5ac
@ -3680,7 +3680,7 @@
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"Now write code that uses `gen_data` and `g_h_filter` to filter 100 data points that starts at 5, has a derivative of 2, a noise scaling factor of 10, and uses g=0.2 and h=0.02. Set you initial guess for x to be 100."
|
||||
"Now write code that uses `gen_data` and `g_h_filter` to filter 100 data points that starts at 5, has a derivative of 2, a noise scaling factor of 10, and uses g=0.2 and h=0.01. Set you initial guess for x to be 100."
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -3780,7 +3780,7 @@
|
||||
],
|
||||
"source": [
|
||||
"zs = gen_data(x0=5., dx=2., count=100, noise_factor=100)\n",
|
||||
"data = g_h_filter(data=zs, x0=5., dx=2., g=0.2, h=0.02)\n",
|
||||
"data = g_h_filter(data=zs, x0=5., dx=2., g=0.2, h=0.01)\n",
|
||||
"plot_g_h_results(measurements=zs, filtered_data=data)"
|
||||
]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user