!CIRCSHI.M
资源名称:speech.rar [点击查看]
上传用户:ay_070428
上传日期:2014-12-04
资源大小:11427k
文件大小:0k
源码类别:
语音合成与识别
开发平台:
Matlab
- function y = circshift(x,M) %通过对X循环M个点得到Y % Develops a sequence y obtained by % circularly shifting a finite-length % sequence x by M samples if abs(M) > length(x) M = rem(M,length(x)); end if M < 0 M = M + length(x); end y = [x(M+1:length(x)) x(1:M)];