質問

I have absolutely basic question about sampling rate with regard to this tutorial: http://www.mathworks.com/help/signal/examples/measuring-signal-similarities.html (first section)

Two first signals have FS=4096, while the third is 8192. In simple words, the third signal was sampled two times more frequently. They say that to equalize the sample rates "The safest way to do this is to resample the signal with a lower sampling rate". So, their procedure actually takes every second sample of the two first signals. But wasn't the third signal was sampled two times more frequently? My intuition was exactly the opposite: if something was sampled more frequently, then I would take every second sample of it.

What do I miss? Thanks a lot,

Vadim

役に立ちましたか?

解決

I think the sentence "The safest way to do this is to resample the signal with a lower sampling rate." is perhaps omewhat ambiguous - what it should say is "The safest way to do this is to resample the signal with the lower sampling rate.", i.e. you need to upsample the signal with the lower sample rater to make it the same as the other signal, that way you don't lose any information (as you would if you downsampled the signal with the higher sample rate).

他のヒント

"The safest way to do this is to resample the signal with a lower sampling rate" thus in that case procedure will not take like You stated every second sample (if so the first and second signal will have 4 times less samples than third one), it will simply interpolate samples between two adjacent points for first and second signals.

In my opinion it is easier to resample the signal with lower sampling rate by interpolation than by truncation of samples from signal with higher fs (in that case aliasing may occur).

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top