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

📄 matixunite.m

📁 实现用MFCC作为特证向量的孤立词识别系统
💻 M
字号:
function [out1 out2 out3]=MatixUnite(in1,in2,in3,windowlong,overlap)
%这个函数主要是用来处理建立模板库是 训练数据不等长的问题
l1=length(in1);l2=length(in2);l3=length(in3);
if(l1<=l2&l2<=l3) short=in1;mid=in2;long=in3;end
if(l1>=l2) temp=in1;in1=in2;in2=temp;l1=length(in1);l2=length(in2);end
if(l3<=l1) short=in3;mid=in1;long=in2;end
if(l3>=l2) short=in1;mid=in2;long=in3;end
if(l3<=l2&l3>=l1) short=in1;mid=in3;long=in2;end
l1=length(short);l2=length(mid);l3=length(long);
out2=linetomatix(mid,windowlong,overlap);
[a,b]=size(out2);
short_overlap=windowlong-floor((l1-windowlong)/(b-1));
long_overlap=windowlong-floor((l3-windowlong)/(b-1));
out1=linetomatix(short,windowlong,short_overlap);
out3=linetomatix(long,windowlong,long_overlap);

⌨️ 快捷键说明

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