gistlib
other matlab categories
dirac-delta-function code snippets in matlab
n = 0:8; x = 10.*dirac(n) - (n+1).*dirac(n-5) + (n-5).*dirac(n-6); stem(n,x) xlabel('n') ylabel('x(n)') title('plot of x(n) using dirac delta functions') in matlab
gistlib
by LogSnag