资源简介
语音端点检测matlab程序 含enframe函数

代码片段和文件信息
function f=enframe(xwininc)
%ENframe split signal up into (overlapping) frames: one per row. F=(XWININC)
%
% F = ENframe(XLEN) splits the vector X up into
% frames. Each frame is of length LEN and occupies
% one row of the output matrix. The last few frames of X
% will be ignored if its length is not divisible by LEN.
% It is an error if X is shorter than LEN.
%
% F = ENframe(XLENINC) has frames beginning at increments of INC
% The centre of frame I is X((I-1)*INC+(LEN+1)/2) for I=12...
% The number of frames is fix((length(X)-LEN+INC)/INC)
%
% F = ENframe(XWINDOW) or ENframe(XWINDOWINC) multiplies
% each frame by WINDOW(:)
% Copyright (C) Mike Brookes 1997
% Version: $Id: enframe.mv 1.3 2005/02/21 15:22:12 dmb Exp $
%
% VOICEBOX is a MATLAB toolbox for speech processing.
% Home page: http://www.ee.ic.ac.uk/hp/staff/dmb/voicebox/voicebox.html
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 2 of the License or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You can obtain a copy of the GNU General Public License from
% ftp://prep.ai.mit.edu/pub/gnu/COPYING-2.0 or by writing to
% Free Software Foundation Inc.675 Mass Ave Cambridge MA 02139 USA.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
nx=length(x);
nwin=length(win);
if (nwin == 1)
len = win;
else
len = nwin;
end
if (nargin < 3)
inc = len;
end
nf = fix((nx-len+inc)/inc);
f=zeros(nflen);
indf= inc*(0:(nf-1)).‘;
inds = (1:len);
f(:) = x(indf(:ones(1len))+inds(ones(nf1):));
if (nwin > 1)
w = win(:)‘;
f = f .* w(ones(nf1):);
end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2197 2009-05-04 22:20 语音端点检测matlab程序\enfr
文件 901164 2008-04-17 00:13 语音端点检测matlab程序\luyin.wav
文件 3919 2008-04-17 00:26 语音端点检测matlab程序\nengliang.m
目录 0 2008-04-17 01:24 语音端点检测matlab程序
----------- --------- ---------- ----- ----
907280 4
- 上一篇:OOK调制的MATLAB仿真
- 下一篇:5节点MATLAB潮流计算
相关资源
- 组合导航matlab程序
- 替代数据法的matlab程序
- 神经网络分类matlab程序
- matlab程序用Hopfield网络解决TSP
- 多用户检测MATLAB程序
- 实现2ask.4ask.2fsk.4fsk.qam16.qam8调制的m
- 曲线旋转得到曲面的MATLAB程序
- Hough变换实现椭圆及圆检测(MATLAB)
- 主动轮廓模型算法matlab程序
- Lozi混沌系统相关分析的MATLAB程序
- 基于harris算法的角点检测matlab原代码
- 用蚁群算法求解TSP问题的matlab程序
- 分数阶chen混沌matlab程序
- 基于粒子群算法的非合作博弈的matl
- 检测疲劳驾驶
- KF+EKF matlab程序实现
- 肤色检测matlab代码
- 圆拟合matlab程序,以及圆心 半径的确
- stlwritematlab程序
- ROC曲线 matlab实现
- 层次分析法的matlab程序
- 泊松过程的模拟及检验 matlab程序
- EMD 算法MATLAB 程序
- 世上最牛的23个图像跟踪算法MATLAB程序
- 散点拟合平面的MATLAB程序
- 信号检测与估计-理论与应用答案及
- ROC曲线MATLAB程序
- dijkstra算法改进的matlab程序能求出两点
- EEMD的MATLAB程序
- 基于遗传算法的机器人路径规划matl
评论
共有 条评论