PDA

View Full Version : Matlab 2d Fft


nuncio_m
6th June 2006, 11:27 AM
Hy all,
How to find a 2d fft in matlab using a netcdf file
thankyou

rajeshj
7th June 2006, 04:25 PM
hello nuncio,
what did you mean by 2d fft? spatial?
regards

nuncio_m
14th June 2006, 03:49 AM
dear rajesh
I want to get the wavenumber as well as frequency spectrum, In matlab one can do that using fft2 function. But when using a neccdf file it encounters NAN values that need to be avoided. Iam new to matlab, any suggesitions to get around this
cheers
nuncio

rajeshj
5th July 2006, 10:48 PM
Dear Nuncio,
Sorry that i did not reply your post till date.
I thought you were trying to do fft for a single time series. If so, you can do it by converting it to an ascii file. If it is spatial, it is difficult and i did it in grads using netcdf data. I have not done fft in matlab for a netcdf data.
regards,