temptrain.m

来自「压缩包中的一系列matlab程序实现了“特定人群语音情感识别”这一新颖的研究课题」· M 代码 · 共 22 行

M
22
字号
function temptrain(str,tempname,path,ele,sel)
si=size(str);
if sel==1
    try
        disp('use old template');
        s=load([path,tempname]);
        temp=s.temp;
    catch
        disp('create new template');
    end
elseif sel==0
    disp('create new template');
end
for k=1:length(str)
    xy=[ele(k);paracal([path,str(k,:)])];
    try
        temp=[temp,xy];
    catch
        temp=xy;
    end
end
save([path,tempname],'temp');

⌨️ 快捷键说明

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