How to find integral under the noise power spectrum

조회 수: 5 (최근 30일)
Parag
Parag 2015년 3월 26일
답변: Parag 2015년 3월 28일
Hi
I am bit confused with wording. Is the integral under noise power spectrum simply the sum of all values in matrix? If not how to calculate it. Thanks

답변 (2개)

Honglei Chen
Honglei Chen 2015년 3월 27일
That's one way to do it, just make sure you also multiply the sum with the width of each bin.
Alternatively, you can also use the bandpower function

Parag
Parag 2015년 3월 28일
Thank you for your reply, I tried using bandpower function but it shooting me following error. Can you please let me know how to reslove it. My sampling is of 0.1 pixels and and range in power spectrum is from [-5 5]. I will appreciate your help.
if true
b = bandpower(nps_measured,5,[-5 5]);
Error using bandpower>psdbandpower (line 127)
The frequency range must be within the range of F for the specified input.
end

카테고리

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