MATLAB Answers

Woehrle
0

fft2: Frequency and wavenumber

Asked by Woehrle
on 6 Jun 2012

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

  0 Comments

Log in to comment.

1 Answer

Answer by Dr. Seis
on 7 Jun 2012
 Accepted Answer

Take a look at my post here for an idea of what is output from FFT2:

http://www.mathworks.com/matlabcentral/answers/24965-fft2-function-in-matlab

  1 Comment

Awesome! Thanks for the tip.

Log in to comment.


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today