PSD of a time function
古いコメントを表示
Hello everyone,
I have the acceleration data collected from an accelerometer, and the acquisition time, the acceleration vs time graph is shown in the following image:

My question is, from this graph, how could I calculate in Matlab the PSD function in the frequency domain, from the temporal function shown above?
As an example of the practical problem, I used this code to generate the graph shown:
t = 0:.001:0.25;
x = sin(2*pi*50*t) + sin(2*pi*120*t);
plot(t,x)
Thanks in advance!
3 件のコメント
dpb
2019 年 4 月 27 日
See example at doc fft
Daniel González
2019 年 4 月 28 日
dpb
2019 年 4 月 28 日
That's what the example shows, specifically...PSD via FFT
回答 (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!