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

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

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

Contact us