如何使用Matlab在不知道采样频率的情况下计算信号频率(How to calculate the frequency of a signal without knowing the sampling frequency using Matlab)
我有一个信号,我正在使用Matlab命令pwelch来计算信号的频率,但是当我改变采样频率时,我获得的频率也会改变。
例如,当使用等于8000的采样频率时,频率似乎是1 Khz,而当我使用16000采样频率时,信号的频率似乎是2 Khz。
这是正确的频率? 还有其他方法可以在事先不知道采样频率的情况下计算信号的频率吗?
I have a signal and I am using Matlab command pwelch to calculate the frequency of the signal, but the frequency I obtained is changed as I changed the sampling frequency.
For example, when using sampling frequency equal 8000, the frequency appear to be 1 Khz, while when I use 16000 sampling frequency the frequency of the signal appear to be 2 Khz.
which is the correct frequency? and is there other method to calculate the frequency of a signal without prior knowledge of the sampling frequency?
原文:https://stackoverflow.com/questions/31767251