Curve classification with interference/disturbance
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
Star Strider
2020년 9월 27일
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
추가 답변 (0개)
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!