Code covered by the BSD License  

Highlights from
Delta Sigma Toolbox

image thumbnail

Delta Sigma Toolbox

by

 

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

sinc_decimate(x,m,r)
function y = sinc_decimate(x,m,r)
% y = sinc_decimate(x,m,r)	Decimate x by m-th order sinc of length r.
x = x(:)';
for i=1:m
	x = cumsum(x);
	x = [x(1:r) x(r+1:end)-x(1:end-r)]/r;
end
y = x(r:r:end);

Contact us