Fitting of raw data
Afficher commentaires plus anciens
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

Réponse acceptée
Plus de réponses (1)
Mohamed Ibrahim
le 2 Oct 2019
Modifié(e) : Mohamed Ibrahim
le 2 Oct 2019
0 votes
1 commentaire
John D'Errico
le 2 Oct 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.
Catégories
En savoir plus sur Get Started with Curve Fitting Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!







