fft2: Frequency and wavenumber

조회 수: 30 (최근 30일)
Woehrle
Woehrle 2012년 6월 6일
댓글: juntian chen 2021년 12월 16일
Greetings all,
I'm trying to create a dispersion relation plot. (frequency vs. wavenumber) I have two columns col1=field data and col2 = time
My question is...If I took the fft2(X) would this produce a fft in space and in time?
Here is what I have been attempting to use:
dt = (7.62629947812*10^-12)*10; %dump interval set to 10 time steps
t = (0:dt:dt*300047)';
Bz = data(:,9);
w =horzcat(Bz,t);
plot(abs(w))
Thanks for your time

채택된 답변

Dr. Seis
Dr. Seis 2012년 6월 7일
Take a look at my post here for an idea of what is output from FFT2:
  댓글 수: 2
Woehrle
Woehrle 2012년 6월 7일
Awesome! Thanks for the tip.
juntian chen
juntian chen 2021년 12월 16일
it goes wrong when time series is long

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by