Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clear all;
- close all;
- disp('Unit Impulse Signal Generation');
- N=input('Enter no of samples: ');
- n=-N:1:N;
- x=[zeros(1,N),1,zeros(1,N)];
- stem(n,x);
- xlabel('Sample');
- ylabel('Amplitude');
- title('Unit Impulse Signal');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement