% Program P9_3 % Coefficient Quantization Effects on Direct Form % Realization of an FIR Transfer Function clf; f = [0 0.4 0.…
vector+quantization 源代码
汇集 vector+quantization 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
% Program P9_2 % Coefficient Quantization Effects on Cascade % Realization of an IIR Transfer Function clf; [z,p,k] = ellip(6,…
function [y,L,B] = QCoeff(x,N) % [y,L,B] = QCoeff(x,N) % Coefficient Quantization using N=L+B bit Representation % …
function [H1,H2,Q, estat] = StatModelR(xn,B,N); % Statistical Model (Rounding) for A/D Quantization error and its Distribution …
function [y,dist]=uq_dist(funfcn,b,c,n,delta,s,tol,p1,p2,p3) %UQ_DIST returns the distortion of a uniform quantizer % with q…
function [a,y,dist]=lloydmax(funfcn,b,n,tol,p1,p2,p3) %LLOYDMAX returns the the Lloyd-Max quantizer and the mean-squared % …
function [y,dist]=mse_dist(funfcn,a,tol,p1,p2,p3) %MSE_DIST Returns the mean-squared quantization error. % [Y,DIST]=MS…
function [y,dist]=mse_dist(funfcn,a,tol,p1,p2,p3) %MSE_DIST Returns the mean-squared quantization error. % [Y,DIST]=MS…
function [a,y,dist]=lloydmax(funfcn,b,n,tol,p1,p2,p3) %LLOYDMAX returns the the Lloyd-Max quantizer and the mean-squared % …
function [y,dist]=uq_dist(funfcn,b,c,n,delta,s,tol,p1,p2,p3) %UQ_DIST returns the distortion of a uniform quantizer % with q…