Timeline for Cubic spline fitting
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 18, 2022 at 2:44 | comment | added | JimB |
Just to second @CATrevillian 's comment: If you want to connect the points with a smooth curve (and hopefully have some feeling the resulting curve makes sense), then resource function CubicSplineInterpolation is what you want. If the data is put into a single list named data , then the following will do what you want: f = ResourceFunction["CubicSplineInterpolation"][data]; Show[ListPlot[data], Plot[f[x], {x, 0, 100}]] .
|
|
May 18, 2022 at 0:12 | history | edited | J. M.'s missing motivation♦ |
edited tags
|
|
Jul 3, 2021 at 4:49 | answer | added | Rom38 | timeline score: 2 | |
Jul 2, 2021 at 13:59 | comment | added | John | @Rom38 could you give me an example of how to do that? I specifically would want to do it with a Spline function/curve. | |
Jul 2, 2021 at 7:58 | comment | added | Rom38 |
I guess, the simplest way is to use the BSplineCurve@jointarray in Epilog . Where the jointarray is a list with all desired points included.
|
|
Jul 1, 2021 at 23:29 | comment | added | CA Trevillian |
There’s a resource function for that! It is called CubicSplineInterpolation . From the documentation page, it appears that many cubic spline methods are implemented within it!
|
|
Jul 1, 2021 at 21:40 | history | edited | Carl Lange |
edited tags
|
|
Jul 1, 2021 at 21:06 | comment | added | Moo | Did you see the Splines methods: reference.wolfram.com/language/guide/Splines.html? | |
Jul 1, 2021 at 20:57 | history | edited | John | CC BY-SA 4.0 |
deleted 1103 characters in body
|
Jul 1, 2021 at 20:50 | history | asked | John | CC BY-SA 4.0 |