Comparing two signals with different sampling rates

38 次查看(过去 30 天)
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