Code covered by the BSD License  

Highlights from
Delta Sigma Toolbox

image thumbnail
from Delta Sigma Toolbox by Richard Schreier
High-level design and simulation of delta-sigma modulators

plotSpectrum(X,fin,fmt)
function plotSpectrum(X,fin,fmt)
% plotSpectrum(X,fin,fmt) Plot a smoothed spectrum
if nargin<3
    fmt='-';
end
[f p] = logsmooth(X,fin);
semilogx(f,p,fmt);

Contact us