For a simple sine function with frequency f0 = 1 [Hz] and a time interval of 1 second, I have to make a plot of the real and imaginary part of the DFT (using fft(xt)). Now I am struggling with the frequency vector: how do I define it? I thought it'd be straightforward but unfortunately I cannot check for the options I have if these are correct.

답변 (1개)

dpb
dpb 2015년 11월 19일

0 개 추천

See
doc fft
and the second section of the example showing how to get the one-sided PSD and frequency associated with the two-sided Matlab implementation of the DFFT.

카테고리

도움말 센터 및 File Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

질문:

J
J
2015년 11월 19일

답변:

dpb
2015년 11월 19일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by