问题描述:
f] = periodogram(x,window,nfft,fs)这个语句的意思!
我看一段程序里头有这句[Pxx,f] = periodogram(x,window,nfft,fs),查了help,但是刚接触matlab,看了半天也没太看懂具体怎么个意思,哪位能帮忙解释解释这个periodogram到底怎么用啊?
help里头是这么说的[Pxx,f] = periodogram(x,window,nfft,fs) uses the sampling frequency fs specified as an integer in hertz (Hz) to compute the PSD vector (Pxx) and the corresponding vector of frequencies (f).In this case,the units for the frequency vector are in Hz.The spectral density produced is calculated in units of power per Hz.If you specify fs as the empty vector [],the sampling frequency defaults to 1 Hz.
我看一段程序里头有这句[Pxx,f] = periodogram(x,window,nfft,fs),查了help,但是刚接触matlab,看了半天也没太看懂具体怎么个意思,哪位能帮忙解释解释这个periodogram到底怎么用啊?
help里头是这么说的[Pxx,f] = periodogram(x,window,nfft,fs) uses the sampling frequency fs specified as an integer in hertz (Hz) to compute the PSD vector (Pxx) and the corresponding vector of frequencies (f).In this case,the units for the frequency vector are in Hz.The spectral density produced is calculated in units of power per Hz.If you specify fs as the empty vector [],the sampling frequency defaults to 1 Hz.
问题解答:
我来补答展开全文阅读