Mercurial > hg > ishara
view dsp/zeropad.m @ 38:9d24b616bb06
Added function algebra.
author | samer |
---|---|
date | Tue, 29 Jan 2013 15:59:01 +0000 |
parents | c3b0cd708782 |
children |
line wrap: on
line source
function y=zeropad(n,x) % ZEROPAD - Function to zero pad a signal % % y=zeropad(n,x) : adds n zeros to head and tail of signal % If n<=0, y=x; if n>0, y=[zeros(n,1); x(:); zeros(n,1)]; else y=x(:); end