fft

2 次查看(过去 30 天)
Ashraf
Ashraf 2012-5-25
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,

回答(1 个)

Walter Roberson
Walter Roberson 2012-5-25
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.

类别

Help CenterFile Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by