Converting from frequency bins to HZ
2 次查看(过去 30 天)
显示 更早的评论
Hi everyone, I have a frequency vector with range 0:fs/N:fs/2, is this already in Hz or do I still need to multiply it by fs/N. Also I have a plot of the PSD of an EEG signal. I want the y-axis to be in dB/Hz. How do I do this.
4 个评论
Ayush Bansal
2020-11-18
The vector is alreay in Hz. 0:fs/N:fs/2 will create a vector from 0 to fs/2 with increment of fs/N Hz. Use pwelch(x) for PSD of a signal.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 EEG/MEG/ECoG 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!