精选优质文档-倾情为你奉上方法一:%A计权声压级频谱分析clc;clear;close all;y=wavread(abc.wav);fs=51200;%采样频率p0=2e-5;%参考声压f=1.00 1.25 1.600 2.00 2.50 3.15 4.00 5.00 6.30 8.0; %基准中心频率f1=20.00 25.0 31.5 40.0 50.0 63.0 80;fc=f1,100*f,1000*f,10000*f; %中心频率%20-16000Hz A声级计权值cf=-50.5,-44.7,-39.4,-34.6,-30.2,-26.2,-22.5,-19.1,-16.1,-13.4,-10.9,-8.6,-6.6,-4.8,-3.2,-1.9,-0.8,0,0.6,1.0,1.2,1.3,1.2,1.0,0.5,-0.1,-1.1,-2.5,-4.3,-6.6; t1=1;t2=2;x=y(t1*fs+1:t2*fs);%截取需要处