Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
melp_lpc.asv
Package: melp.rar [view]
Upload User: xxy784
Upload Date: 2015-01-28
Package Size: 726k
Code Size: 1k
Category:
Compress-Decompress algrithms
Development Platform:
Matlab
- %线性预测分析
- %输入: 一帧200个样点的数据 "1+a1..."
- %输出: LPC系数
- function f=melp_lpc(s)
- global ham_win;
- %w=0.54-0.46*cos(2*pi*((1:200)-1)/199);
- v=s.*ham_win; %Add a window
- %for i=1:11
- % r(i)=sum(v(i:200).*v(1:201-i))/200;
- %end %Autocorrelation
- %a=-r(2)/r(1);
- %b=(1-a^2)*r(1);
- %for i=1:9
- % k=-(r(i+2)+sum(r(2:i+1).*fliplr(a)))/b;
- % b=b*(1-k^2);
- % a=[a,0]+k*[fliplr(a),1]; %Levinson-Durbin algorithm
- %end
- %a=levinson(r,10);
- a=lpc(v,10);
- a
- f=a.*0.994.^(1:10); %Bandwidth expansion coefficient