Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the difference between the following two things:

  • make a 2-D Discrete Fourier Transform of a certain matrix A[p,p],

  • first reshape this matrix into a 1-D vector a[p^2,1], and compute the 1-D DFT of this vector?

Matlab shows the result is completely different, but I don't understand why, and is there a way to say how this two things can be equivalent? The second question is more important.

Thank you.

share|cite|improve this question
You have two different ways to transform $9$ given numbers into $9$ new numbers and ask why the result is not the same. You might also ask why $\sqrt{x+y}$ is not $=\sqrt{x}+\sqrt{y}$. Try to understand the underlying structures and ideas! – Christian Blatter Dec 26 '12 at 20:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.