Finding equation of a smoothing spline representing experimental data
11 views (last 30 days)
Show older comments
Hello, I have plotted a graph from the experimental data nd have no idea of the fuction which satifies the graph behavior. So i tried the curve fitting tool and the smoothing spline fits my plot in the tool. How can i find this fuction which satisfies the graph. Any suggestions and better approaches with some step help is appriciated as i am new to matlab.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/170495/image.png)
1 Comment
Greg Dionne
on 1 Dec 2017
The tail end of your signal looks like it can be modeled by an AR process (take a look at arburg or yulear if you have the Signal Processing Toolbox).
Answers (1)
Mukul Rao
on 4 Dec 2017
Hello, if you are looking to export this spline fit as either M-code or an object, so it can be evaluated at new points, you can refer this link :
Note that splines are typically piece-wise polynomials, so there's no single function that represents them.
3 Comments
John D'Errico
on 5 Dec 2017
You are not going to find a better choice than a spline to represent this curve, and allow you to interpolate it smoothly and accurately. I would point out the odd bump in the middle of the main descent of the curve. So the important question is why do you think the tool does not allow a piecewise function. Perhaps that is more because you don't know how to implement it? My point is perhaps you can use it, but merely need to learn how to do so?
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!