Code covered by the BSD License  

Highlights from
Delta Sigma Toolbox

image thumbnail

Delta Sigma Toolbox


Richard Schreier (view profile)

  • 1 file
  • 4.59459


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

padt(x, n, val)
function y = padt(x, n, val)
%y = padt(x, n, val)
% Pad a matrix x on the top to length n with value val(0)
% The empty matrix is assumed to be have 1 empty column
if nargin < 3
    val = 0;

y = [ val( ones( n-size(x,1), max(1,size(x,2)) ) ); x ];

Contact us