필터 지우기
필터 지우기

how to implement the integral formula in Matlab ?

조회 수: 3 (최근 30일)
Raady
Raady 2017년 7월 24일
댓글: Walter Roberson 2017년 7월 24일
The question says all. The formula is to compute energy of the signal given by
I have computed D(f)
it is the fft spectrum of my time domain signal. How to implement this formula (ER) in Matlab?
As I know maths the value of an integral will be one value, but in the paper I referred according to the author the result is similar to spectrum but different values.

답변 (1개)

Walter Roberson
Walter Roberson 2017년 7월 24일
Fft of a finite length signal is a discrete process so the output cannot be integrated unless you do numeric integration with trapz or similar.
If you had a theoretically infinite signal then potentially you could do a continuous fourier transform and integrate that.
  댓글 수: 2
Raady
Raady 2017년 7월 24일
편집: Raady 2017년 7월 24일
The signal is of finite length. how can we perform that integration then?
Walter Roberson
Walter Roberson 2017년 7월 24일
You cannot do an integration of a discrete system.
You could use trapz() but make sure you get the x coordinates correct, and watch out for the fact that the results of fft include negative and positive frequency components. Watch out too for whether you are integrating only the real components or if you are doing a complex integration

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 수치 적분과 수치 미분에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!