1.A-Weighting
A计权,模拟一般情况下人耳对声音的感知,和40phon等响曲线对应;
A-Weighting滤波器的Matlab实现

function A = filterA(f,plotFilter) %% Define filter coefficients. c1 = 3.e16; c2 = 20.^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计权,不作加权处理

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/130551.html