Comparing two signals with different sampling rates

조회 수: 19 (최근 30일)
Alexandre
Alexandre 2013년 10월 6일
편집: Haitham Hussien 2017년 11월 20일
Hello,
I am currently trying to compare two signals to evaluate how similar they are. I would like to put a quantitative criterion on this evaluation by using a comparison technique such as the mean square error for instance.
The problem is, the two signals cannot be compared directly via this method because they have different sampling rates. I cannot use functions such as upsample or downsample because the ratio between the two sampling rates is not an integer.
What I have come up with so far would be to use to use the vector of the signal with the highest sampling rate as my "base vector" and then interpolate a value for the other signal for each missing time step. I would then be able to compare both signals, but this technique doesn't seems appropriate considering it would introduce an additional error.
Any suggestions will be welcomed!
Thanks,

답변 (2개)

Image Analyst
Image Analyst 2013년 10월 6일
Seems fine to me. It's done all the time. How would you recognize if the comparison is inaccurate or not accurate enough for you? In other words, try it and see. If it's no good (which I doubt) then you'll know it. If you don't notice any problem then, of course, it's good enough for your purposes.

Haitham Hussien
Haitham Hussien 2017년 11월 20일
편집: Haitham Hussien 2017년 11월 20일

카테고리

Help CenterFile Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by