Finding equation of a smoothing spline representing experimental data

15 visualizaciones (últimos 30 días)
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.
  1 comentario
Greg Dionne
Greg Dionne el 1 de Dic. de 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).

Iniciar sesión para comentar.

Respuestas (1)

Mukul Rao
Mukul Rao el 4 de Dic. de 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 comentarios
John D'Errico
John D'Errico el 5 de Dic. de 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?
Srimanish Reddy Enakonda
Srimanish Reddy Enakonda el 5 de Dic. de 2017
The tool doesn't allow a piecewise function because it just handles the interaction behaviour of the engine speed with an expression which is to be mapped to represent the RPM behaviour. But there is an option of MAX function as shown. I have sample formula which is formulated for a different graph. i.e, L=[1:1000]/20; K=max(max(max(abs(sin(L*5))+L/10-1-exp((5-L)*5),0),15-(L-15).^2),10-exp((14-L)*20));
I don't know how to acquire such an equation for any graph we needed or for the one I needed. It would be great to learn such a concept to solve any kind of experimental behaviour graph and can be fused with the simulation. Any suggestions and ideas are welcome.

Iniciar sesión para comentar.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by