Hi All,

I found "mvfft" in R and "fft2" in Matlab give different result
and can't figure out why. My example is:

In R:
> matrix(c(1,4,2,20), nrow=2)
     [,1] [,2]
[1,]    1    2
[2,]    4   20
> mvfft(matrix(c(1,4,2,20), nrow=2))
      [,1]   [,2]
[1,]  5+0i  22+0i
[2,] -3+0i -18+0i

In Matlab:
>fft2([1,2;4,20])

ans=

27   -17
-21   15

Does any function in R generate teh same result as what from Matlab?
Thanks,

Li

	[[alternative HTML version deleted]]

