How to compare 2 signals
67 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Muhammad Nauman Nasir
le 16 Juil 2017
Réponse apportée : elias
le 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 commentaires
Réponse acceptée
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Filter Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!