用于语音识别语音增强方面的matlab工具包

源代码在线查看: frequency.m

软件大小: 190 K
上传用户: chenqiyun1990
关键词: matlab 语音识别 语音增强 方面
下载地址: 免注册下载 普通下载 VIP

相关代码

				function f=frequency(varargin)								% should accept at least the following input				% begin num fs				% vector				%				% initially supports "dense" equidistant frequency vectors only								% $Id: frequency.m 119 2006-09-26 12:28:25Z mairas $								f.vec=[];				f.begin=0;				f.num=0;				f.fs=0;								if nargin==1				  if isnumeric(varargin{1})				    % frequency is a vector				    %vec = reshape(varargin{1},1,prod(size(varargin{1})));				    vec = varargin{1};				    f.begin = vec(1);				    f.num = length(vec);				    f.fs = (vec(2)-vec(1))*f.num;				  end				else				  f.begin = varargin{1};				  f.num = varargin{2};				  f.fs = varargin{3};				end								f = class(f,'frequency');							

相关资源