n=[-5:5]
x_a=[zeros(1,5) 1 zeros(1,5)]        %%Zero padding%%
stem(n,x_a,'filled');
xlabel('n');
ylabel('Amplitude');
title('\delta');

Categories:

Leave a Reply