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

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

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

Contact us