Serwan Bamerni
Member level 2
Hi everyone
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?
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.
Code:
pwelch(x,window,noverlap,f,fs)
which is the correct frequency? and is there other method to calculate the frequency of a signal without prior knowledge of the sampling frequency?