www.pudn.com > Quantization_simulink.rar > alaw1.m, change:2008-12-01,size:200b


function [y]=Alaw1(x)
A=87.6;
C=A/(log(A)+1);
y=C*x;
I=find(abs(x)>1/A);
y(I)=(log(A*abs(x(I)))+1)/(log(A)+1).*sign(x(I));
%ALAW1 Summary of this function goes here
%   Detailed explanation goes here