Hi,

I am a brand new user of R and I have a really stupid problem: I am having troubles applying fft on 2D matrices.
I import a data file of 256*256 elements with read.table (it is actually a grey scale image, the corresponding data file being generated with Matlab), and I find that the fft can be applied on one single column of data, but not on one row. 
(Error message:
Error in fft(z, inverse) : non-numeric argument
)

Is it the format of the matrix which causes that trouble? (although I checked with the editor that the matrix was well imported)
Besides this, it is not possible to plot one single row of data (strange plot with the names of variables appearing).

Thanks in advance for your help,

Anne Gosset

	[[alternative HTML version deleted]]


