function x=pcmu2lin(p,s) %PCMU2LIN Convert Mu-law PCM to linear X=(P,S) % lin = pcmu2lin(pcmu) where pcmu contains a vector % o…
Foundation+Fieldbus 源代码
汇集 Foundation+Fieldbus 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
function [s,c,r,t]=atan2sc(y,x) %ATAN2SC sin and cosine of atan(y/x) [S,C,R,T]=(Y,X) % % Outputs: % s sin(t) where ta…
function r=rotpl2ro(u,v,t) %ROTPL2RO find matrix to rotate in the plane containing u and v r=[u,v,t] % Inputs: % % U(n,1) …
function y=rfft(x,n,d) %RFFT Calculate the DFT of real data Y=(X,N,D) % Data is truncated/padded to length N if specified. …
function zz=lpccw2zz(cw) %LPCPZ2ZZ LPC: Power spectrum roots to LPC poles ZZ=(CW) % pz are the roots of the power spectrum polyn…
function x=pcma2lin(p,m,s) %PCMU2LIN Convert A-law PCM to linear X=(P,M,S) % lin = pcma2lin(pcma,m,s) where pcma contains a vect…
function aa=lpcdl2aa(dl) %LPCDL2AA dct of log area to area coefficients AA=(DL) % we do not correct for sinc errors % …
function pf=lpcra2pf(ra,np) %LPCAR2PF Convert AR coefs to power spectrum PF=(RA,NP) % The routine is faster if NP+1 is a power o…
function pz=lpcpp2pz(pp) %LPCPP2PZ LPC: Convert power spectrum polynomial in cos(w) to power spectrum zeros PZ=(RP) % pp is a po…
function q=qrdivide(q1,q2) %QRDIVIDE divdes two real quaternions q=[q1,q2] % % Inputs: % % q1(4,1), q2(4,1) Two real qua…