2

I am new user of Mathematica, sorry if my question odd.

I not understanding, how to Mathematica apply the discrete Fourier transform for matrix:

Print[Fourier[{{-50, 50}, {50, 50}, {50, -50}}]];
(*Result is:
{{40.8248 +0. I,0. +0. I},
{-20.4124+35.3553 I,-61.2372-35.3553 I},
{-20.4124-35.3553 I,-61.2372+35.3553 I}}
*)

Can you explain the step-by-step execution of this program using only Fourier for 1-d lists?

xzczd
  • 65,995
  • 9
  • 163
  • 468
PavelDev
  • 321
  • 1
  • 8

1 Answers1

4

Fourier does a 2D discrete Fourier transform.

You can decompose this into the individual 1D transforms using the techniques illustrated in the following example:

M = {{-50, 50}, {50, 50}, {50, -50}};
Transpose[Fourier /@ Transpose[Fourier /@ M]] == Fourier[M]
(* True *)
mikado
  • 16,741
  • 2
  • 20
  • 54