You are on page 1of 1

EXPERIMENT NO.-2b %Name-ashish &Roll No.

- EL-08-311 %Name Of Experiment-Program for unit impulse function

clc; n=[-4:1:4]; fn=[zeros(1,4),ones(1,1),zeros(1,4)] stem(n,fn) title('output waveform of unit impulse function') ylabel('amplitude') xlabel('time')

Input data for unit impulse function


n= fn= -4 -3 0 0 -2 0 -1 0 0 1 1 0 2 0 3 0 4 0

You might also like