Code covered by the BSD License  

Highlights from
Delta Sigma Toolbox

image thumbnail

Delta Sigma Toolbox



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

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

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

Contact us