How to compare 2 signals
67 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Muhammad Nauman Nasir
am 16 Jul. 2017
Beantwortet: elias
am 17 Nov. 2022
I need to develop an algorithm that will compare two signals (1 Reference Signal and other is measured signal values from sensor) and estimates error occurred between 2 signals. I would appreciate any help.
I have attached figures below to provide an idea about how my both signals looks like.
I want to find error between measured signal from reference signal.
1 -Amount of error between Reference signal and measured values signal. (I want to calculate value of overall error or difference occurred.May be in amplitude,phase or flattening of signal).
For the case of finding errors I have think of RMSE is it a good idea to take this approach as the length of my signals are same. Given the data reference signal and sensor signal data of size 1x1626100 and 1 x 1626100 double.
Correlation function also came into my mind but according to my knowledge I can only find similarity between different signals using correlation function not the total error or overall changes that occurred in signal.
The signal is generated provides an information about changes in steering angle along with time.
Any help ,clues ,detailed replies or (code if possible) will be highly appreciated.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166061/image.png)
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Filter Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!