No BSD License  

Highlights from
Digital Signal Processing Using MATLAB

Digital Signal Processing Using MATLAB

by

 

21 Aug 2002 (Updated )

Companion Software

delta2db(delta1,delta2)
function [Rp,As] = delta2db(delta1,delta2)

% Conversion from Absolute delta specs to Relative dB specs

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

% [Rp,As] = delta2db(delta1,delta2)

% Rp = Passband ripple

% As = Stopband attenuation

% d1 = Passband tolerance

% d2 = Stopband tolerance

%

Rp = -20*log10((1-delta1)/(1+delta1));

As = -20*log10(delta2/(1+delta1));

Contact us