Code covered by the BSD License  

Highlights from
Delta Sigma Toolbox

image thumbnail

Delta Sigma Toolbox



14 Jan 2000 (Updated )

High-level design and simulation of delta-sigma modulators

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

function g = rmsGain(H,f1,f2,N)
%function g = rmsGain(H,f1,f2,N=100)
%Compute the root mean-square gain of the discrete-time
%tf H in the frequency band (f1,f2)

if nargin<4
    N = 100;
w = linspace(2*pi*f1,2*pi*f2,N);
g = norm( evalTF(H,exp(j*w)) ) / sqrt(N);

Contact us