calculate SPL-Third octave using poctave function

I want to calculate the sound pressure level third ooctave using poctave function
I used poctave function to convert pressure data (p) (time,pressure) to 1/3 octave spectrum
[P3rd, cf] = poctave(p,fs,'FrequencyLimits',[df,fs/2],'BandsPerOctave',3);
In order to calculate the SPL-1/3 Octave (sploct)
sploct = 10*log10(P3rd/pref^2);
Is the equation for calculating SPL-1/3 octave is correct or not?

댓글 수: 1

The solution provided here (The question where you commented)solved your issue?

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

답변 (2개)

zein
zein 2021년 3월 5일
편집: zein 2021년 3월 5일
%using filtbank dunction (download it from lib.)
[splfiltb,fcfiltb] = filtbank(p,fs,[],'extended');
%using poctave fun
pref=2e-5;
[P3rd, fc1] = poctave(p,fs,'FrequencyLimits',[3,fs/2],'BandsPerOctave',3);
sploct1
= 10*log10(P3rd/pref^2);
I have used both these two methods (filtbank and poctave fun) and they showed the same resultsm check them

댓글 수: 5

hello zein, What is the input of p in function poctave??
zein
zein 2021년 3월 7일
p is the pressure signal
can you send me these file which you have tested, pls?
you can send me to Email: hoangngocquygtvtk52@gmail.com
thank you verry much
zein
zein 2021년 3월 17일
send ??

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

ngoc quy hoang ngoc quy
ngoc quy hoang ngoc quy 2021년 3월 4일

0 개 추천

do you have the answer? I am also interested in this question

카테고리

도움말 센터File Exchange에서 Octave에 대해 자세히 알아보기

질문:

2020년 6월 24일

댓글:

2021년 3월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by