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

📄 log_mmse.m

📁 这个MATLAB程序是用于对音频信号进行降噪处理
💻 M
字号:
function H = log_mmse(gamma,xihat)
% LOG_MMSE - MMSE log-spectral amplitude estimation (Ephraim & Malah, 1985) 
%    H = LOG_MMSE(GAMMA,XIHAT) returns the MMSE log-spectral amplitude
%    estimation filter H given a posteriori signal-to-noise ratio (SNR)
%    GAMMA and an estimate XIHAT of a priori SNR.  GAMMA and XIHAT may be
%    arrays but must be of equal dimension.
%
% References:
% 
% Y. Ephraim and D. Malah.  Speech enhancement using a minimum mean-square
% error log-spectral amplitude estimator.  IEEE Transactions on Acoustics,
% Speech and Signal Processing, ASSP-33(2):443-445, April 1985.

% Author: Patrick J. Wolfe
%         Signal Processing Group
%         Cambridge University Engineering Department
%         p.wolfe@ieee.org
%
% Copyright (c) 2000 by Patrick J. Wolfe
% $Revision: 1.2 $  $Date: 2001/01/24 13:08:05 $

% MMSE log-spectral amplitude estimation filter calculation
%
frac = xihat./(1+xihat);
upsilon = gamma.*frac;
H = frac.*exp(0.5.*expint(upsilon));

⌨️ 快捷键说明

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