Effacer les filtres
Effacer les filtres

fft

3 vues (au cours des 30 derniers jours)
Ashraf
Ashraf le 25 Mai 2012
Hi everyone,
I have a vector (array) that include 128 values (for 128 samples of signal) and I want to do fft transform for this vector, if I use fft function of matlab I get 128 values... My goal is to get one value that represent a fft transform (because dft-or fft- transform contain a sigma and it should be a sum of amplitudes * e^j...) Is there any function of matlab that do this? or I should to sum the elements of the fft output? or maybe Im missimg something in fft understanding?
Thanks,

Réponses (1)

Walter Roberson
Walter Roberson le 25 Mai 2012
The sum of the amplitudes of the signal is the first element of the fft() output.
But if all you want is the sum of the amplitudes of the signal, it would seem less expensive to just sum the signal samples themselves.

Catégories

En savoir plus sur Fourier Analysis and Filtering dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by