fft on an unit matrix

Hello i wanted to try a fft on an unit matrix, but the result of this is very strange.
A has the size 3x3
DFT = fft(eye(size(A)));
The result is:
matlab.jpg
Whats wrong here ?

2 Commenti

madhan ravi
madhan ravi il 12 Dic 2018
why do you think it’s strange?
Guillaume
Guillaume il 12 Dic 2018
You are aware that fft treats the columns of a matrix independently? There is no such thing as the fft of a matrix.
I'm not sure what you expect from the DFT of a signal with only 3 samples. It's never going to have any meaning anyway. That's nowhere near enough samples to capture any frequency. So what is the point of your trial?

Accedi per commentare.

Risposte (1)

Alexander Loibl
Alexander Loibl il 12 Dic 2018

0 voti

When i perform a fft in the terminal for example fft(0) the result is zero and not a complex number

Categorie

Scopri di più su Fourier Analysis and Filtering in Centro assistenza e File Exchange

Prodotti

Release

R2018b

Richiesto:

il 12 Dic 2018

Commentato:

il 12 Dic 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by