Search This Blog

Unit Impulse Response signal Generation in MATLAB


%MATLAB program for Unit Impulse Response signal Generation
N=input('Enter the size of sequence=');
t=-N:N;
seq=t==0;
stem(t,seq);
title('Unit Impulse Response');
xlabel('n');
ylabel('Amplitude');

Author: Jaspepi

No comments

MATLAB