Curve classification with interference/disturbance
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
jjohn33
am 27 Sep. 2020
Kommentiert: Star Strider
am 27 Sep. 2020
Hi
Is there a method to classify how much interference/disturbance there is in the signal (black lines)?
The red line is the exponetial fit. If the curve follows the red line, one would say that it has no disturbance
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/367246/image.jpeg)
0 Kommentare
Akzeptierte Antwort
Star Strider
am 27 Sep. 2020
One option is to evaluate the exponential curve at exactly the same values of the independent variable as the data (that I assume are the black curve), then use trapz to integrate either the difference or the squared difference in the region-of-interest. That would give you the integral of the error or the squared error.
There may be other ways as well, since I am not certain what result you want.
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Numerical Integration and Differentiation finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!