How to compare 2 signals

99 views (last 30 days)
Muhammad Nauman Nasir
Muhammad Nauman Nasir on 16 Jul 2017
Answered: elias on 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.

Accepted Answer

KSSV
KSSV on 17 Jul 2017

More Answers (1)

elias
elias on 17 Nov 2022
dvsdvsd

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!