about the fft plot of a discreate signal

1 回表示 (過去 30 日間)
kavya saxena
kavya saxena 2013 年 5 月 3 日
hi all, while i m doing fft of my data received from ansys program then the frequency is highest at zero and then next peak gives correct frequency. is it possible. why it happens. what does it means.my coading is y=output(:,2); f=1e6; fs=20*f; ydft=fft(y); ydft=ydft(1:floor(length(ydft)/2)+1); freq=0:fs/length(y):fs/2; plot(freq,abs(ydft)); plot will starts from zero with peak value and second peak gives 1e6 hz. help me to understand the meaning of zero frquency.

回答 (1 件)

Carlos
Carlos 2013 年 5 月 3 日
Hi, the zero frecuency is the continous component of your signal (which is the mean value of your signal). For instance if you are working with a signal with a mathematical expression
y=cos(6*t)+2
Then 2 is the continous component of the signal.
If you calculate the fft of y-mean(y), instead of calculating the fft of your signal the continous component should disappear.

カテゴリ

Help Center および File ExchangeFourier Analysis and Filtering についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by