Fitting of raw data
Mostrar comentarios más antiguos
Hi All,
I would like to fit the data shown in the attached photo. The two plots are from two temperature sensors (resistance sensor) against time. From the figure, at one point, you can see the lines start to broaden. This happens due to high variation of the temperature (resistance of the sensor) at low temperatures. This broadening is actually a sin function variation with very small frequency 1.15Hz (0.0145 min). I would like to find the best fit or someway to find the average of these points to elimenate the broadening.
Thanks

2 comentarios
darova
el 11 de Sept. de 2019
Did you fit() function?
Mohamed Ibrahim
el 2 de Oct. de 2019
Respuesta aceptada
Más respuestas (1)
Mohamed Ibrahim
el 2 de Oct. de 2019
Editada: Mohamed Ibrahim
el 2 de Oct. de 2019
0 votos
1 comentario
John D'Errico
el 2 de Oct. de 2019
Please, learn to use COMMENTS! This is not an answer, just a response to my answer.
There is a tool in the toolbox to evaluate a spline. Use slmeval. If you had read the copius help and examples, you would have seen that.
As far as fitting the bumps there, you just need to use more knots. Or, you need to put sufficient knots in places where it is important.
Note that if you have 'increasing' set to be 'on', as I did in my example, then it cannot follow a decrease as you see there.
Categorías
Más información sobre Get Started with Curve Fitting Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!







