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 件のコメント

Urmila Rajpurohith
Urmila Rajpurohith 2020 年 7 月 1 日
The solution provided here (The question where you commented)solved your issue?

サインインしてコメントする。

回答 (2 件)

zein
zein 2021 年 3 月 5 日
編集済み: zein 2021 年 3 月 5 日

1 投票

%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 件のコメント

ngoc quy hoang ngoc quy
ngoc quy hoang ngoc quy 2021 年 3 月 6 日
hello zein, What is the input of p in function poctave??
zein
zein 2021 年 3 月 7 日
p is the pressure signal
ngoc quy hoang ngoc quy
ngoc quy hoang ngoc quy 2021 年 3 月 8 日
can you send me these file which you have tested, pls?
ngoc quy hoang ngoc quy
ngoc quy hoang ngoc quy 2021 年 3 月 8 日
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

カテゴリ

質問済み:

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