我是靠谱客的博主 精明山水,这篇文章主要介绍常见计权方式1.A-Weighting2.C-Weighting3.Z-Weighting,现在分享给大家,希望可以做个参考。

1.A-Weighting

        A计权,模拟一般情况下人耳对声音的感知,和40phon等响曲线对应;

A-Weighting滤波器的Matlab实现

function A = filterA(f,plotFilter)
%% Define filter coefficients.
c1 = 3.5041384e16;
c2 = 20.598997^2;
c3 = 107.65265^2;
c4 = 737.86223^2;
c5 = 12194.217^2;
 
%% Evaluate A-weighting filter.
f(find(f == 0)) = 1e-17;
f = f.^2; num = c1*f.^4;
den = ((c2+f).^2) .* (c3+f) .* (c4+f) .* ((c5+f).^2);
A = num./den;
 
%% 画dBA计权图.
if exist('plotFilter') & plotFilter
    
   % Plot using dB scale.
   figure(2); clf;
   semilogx(sqrt(f),10*log10(A));
   title('A-weighting Filter');
   xlabel('Frequency (Hz)');
   ylabel('Magnitude (dB)');
   xlim([10 100e3]); grid on;
   ylim([-70 10]);
   
   % Plot using linear scale.
   figure(3); plot(sqrt(f),A);
   title('A-weighting Filter');
   xlabel('Frequency (Hz)');
   ylabel('Amplitude');
   xlim([0 44.1e3/2]); grid on;
 
end

2.C-Weighting

C计权,模拟高分贝情况下人耳对声音的感知;

3.Z-Weighting

Z计权,不作加权处理

最后

以上就是精明山水最近收集整理的关于常见计权方式1.A-Weighting2.C-Weighting3.Z-Weighting的全部内容,更多相关常见计权方式1内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(132)

评论列表共有 0 条评论

立即
投稿
返回
顶部