The following data is sampled from the step function depicted in Fig. 16.1:
x | - 1 | -0.6 | -0.2 | 0.2 | 0.6 | 1 |
f(x) | 0 | 0 | 0 | 1 | 1 | 1 |
Fit this data with a (a) cubic spline with not-a-knot end conditions, (b) cubic spline with zero-slope clamped end conditions, and (c) piecewise cubic Hermite interpolation. In each case, create a plot comparing the fit with the step function.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.