[問題]有關power spectral density & FFT 已回收

看板MATLAB作者 (不要說話)時間15年前 (2010/12/12 17:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
想請問各位先進 我對一筆訊號做psd出來 nfft=round(length(x)/2); % x=2516x1 [p,f]=psd(x,nfft,freq,nfft,round(nfft/2),'mean'); % p=630x1 p是power,f是頻率 對吧 然後我的power最大值擷取幾個如下 35.5889 76.0922 186.4724 333.303 237.6208 107.4745 13.8933 然後做圖 想請問power的單位是什麼? dB? amplitude? psd? Magnitude? (我的取樣頻率sample rate 是40 Hz) plot(f,p/□); % 在這邊我不知道要除以多少 ylabel('□'); % 所以這邊的單位就不知要標什麼 不過我有試了幾個努力,去查了資料 The power spectral density (PSD) (or spectral power distribution (SPD) of the signal) are in fact the square of the FFT (magnitude). It describes how the power of a signal is distributed with frequency. 這是說power是magnitude的平方嗎? 所以說我要 plot(f,p/(40*10)); % 所以我這樣除對嗎? ylabel('Power Spectral Density (cm2/Hz'); 懇請各位先進解答囉. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.134.181.170
文章代碼(AID): #1D18zxU4 (MATLAB)