필터 지우기
필터 지우기

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