[問題] 頻譜 PSD 畫法

看板MATLAB作者 (優勝、優賞)時間13年前 (2012/05/17 20:54), 編輯推噓1(104)
留言5則, 1人參與, 最新討論串1/1
最近需要用到把一串隨機離散序列(例如PRBS31)轉成PSD 我遇到兩個問題 1. 我需要把每個data複製10點變成類比信號 再用10倍data rate的clock去sample轉FFT? 2. 我發現matlab有很多套件可以畫FFT或PSD 例如dspdata系列 spetrum系列 FFT/DFT系列 好像都畫得出來 但是我不知道他們的差異 不知道板上各位先進能不能解答我的疑惑呢? 先謝謝各位了! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 180.177.11.21

07/04 18:30, , 1F
剛剛查了一下 通常都是用 periodogram跟pwelch來轉
07/04 18:30, 1F

07/04 18:31, , 2F
The periodogram calculates a straight fft-based spectrum
07/04 18:31, 2F

07/04 18:31, , 3F
The pwelch function averages several sub-spectra
07/04 18:31, 3F

07/04 18:32, , 4F
to give a smoother estimate of the spectrum
07/04 18:32, 4F

07/04 18:32, , 5F
文章代碼(AID): #1FjFKDM9 (MATLAB)