bss_decomp_gain.m

来自「一种bss盲源信号分离的工具包 可以用于盲信号的提取」· M 代码 · 共 35 行

M
35
字号
function varargout=bss_decomp_gain(varargin)% decompose an estimated source into target/interference/noise/artefacts components, assuming the admissible distortion is a pure time-invariant gain.%% Usage:%% [s_target,e_interf[,e_noise],e_artif]=bss_decomp_gain(se,index,S[,N])%% Input:%   - se: row vector of length T containing the estimated source,%   - index: points which component of S se has to be compared to,%   - S: n x T matrix containing the original sources,%   - N: m x T matrix containing the noise on the obseravtions (if any).%% Output:%   - s_target: row vector of length T containing the target source(s)%   contribution,%   - e_interf: row vector of length T containing the interferences%   contribution,%   - e_noise: row vector of length T containing the noise contribution (if%   any),%   - e_artif: row vector of length T containing the artifacts%   contribution.%% Developers:  - Cedric Fevotte (cf269@cam.ac.uk) - Emmanuel Vincent% (vincent@ircam.fr) - Remi Gribonval (remi.gribonval@irisa.fr)switch nargin    case 3        [varargout{1},varargout{2},varargout{3}]=bss_decomp_filt(varargin{1},varargin{2},varargin{3},0);    case 4        [varargout{1},varargout{2},varargout{3},varargout{4}]=bss_decomp_filt(varargin{1},varargin{2},varargin{3},varargin{4},0);    otherwise        disp('Wrong number of arguments.')end

⌨️ 快捷键说明

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