No BSD License  

Highlights from
Digital Signal Processing Using MATLAB

Digital Signal Processing Using MATLAB

by

 

21 Aug 2002 (Updated )

Companion Software

db2delta(Rp,As)
function [d1,d2] = db2delta(Rp,As)

% Conversion from Relative dB specs to Absolute delta specs.

% ----------------------------------------------------------

% [d1,d2] = db2delta(Rp,As)

% d1 = Passband tolerance

% d2 = Stopband tolerance

% Rp = Passband ripple

% As = Stopband attenuation

%

K = 10^(Rp/20);

d1 = (K-1)/(K+1);

d2 = (1+d1)*(10^(-As/20));

Contact us