⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 calibrate.m

📁 计算声质中的Aures Tonality
💻 M
字号:
function[ycal,err]=calibrate(y)
err=1;

Pref=20e-6;
RMS=sqrt(mean(y.^2));
SPLcalc=20*log10(RMS/Pref);
disp([10,'The RMS SPL, calculated as SPLmax=20*log10(RMS(y)/Pref) is', num2str(SPLcalc)])
SPLwant=input('Please enter the RMS SPL as determined during the measurement');
c=10^((SPLwant-SPLcalc)/20);ycal=c*y;
err=0;
return

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -