Need help with periodogram
显示 更早的评论
I am trying to turn this plot into a periodogram and I am not sure where to start... From frequencies 0.4Hz to 5 Hz Code:
clear,clc
load('DATA_01_TYPE01.mat')
A = sig;
x = A(2,1:1000)
t=1:1:1000;
subplot(3,1,1)
plot(t,x)
7 个评论
Star Strider
2018-10-26
If you want to know how to calculate it, see the More About (link) secton of the periodogram function.
Otherwise, just use the function itself.
G
2018-10-26
Star Strider
2018-10-26
Please read the documentation.
The third argument is the length of the Fourier transform. Neither the periodogram function nor I know what you intend with ‘[0.4 5]’ for that argument.
G
2018-10-26
Star Strider
2018-10-26
Use the xlim property of plot to define the specific frequency range to display (assuming that the frequency is your x-axis).
G
2018-10-26
G
2018-10-26
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Parametric Spectral Estimation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!